TTT Player Model Spawn Error

I’ve added this code to /orangebox/garrysmod/gamemodes/terrortown/gamemode .
It works fine but when it spawns a player with the custom player, it spawns them as spectator for the first round. Very odd. Here is a picture of the code.
Just in case the sound is causing the problem, I do not really need the join sound part of the code. As long as I can get people with custom models to join without automatically being sent to spectator yet being able to spawn. Also, only happens when you join during first round, not rounds after.

http://puu.sh/1zSgj