Team change gui works, but I can't spawn into the right spawn?
I put this into a local script.
1 | player = game.Players.LocalPlayer |
2 | script.Parent.MouseButton 1 Click:connect( function (mouse) |
3 | if player:IsInGroup( 3083232 ) then |
4 | if player.TeamColor ~ = BrickColor.new( "Bright yellow" ) then |
5 | player.TeamColor = BrickColor.new( "Bright blue" ) |
The whole thing works, I change teams fine. I made it so that if they are in the group, the can change. Then If they are not a prisoner. It works and all, however I can't respawn in the correct area. I keep spawning in the starting team area.