Take a look at your switch statement, get_user_team can only return 3 values. Look at the func page I showed you. I am sorry to not give a proper response, I am writing from my phone.

edit: Titan, that wont help at all, that will only hook when the player spawns. Round start works fine. The code is pretty okay, you could remove is_user_connected and just use alive, because if the dude is alive, then he's connected.
Damn, this looks awful. I am sorry.
__________________