Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Team change gui works, but I can't spawn into the right spawn?

I put this into a local script.

player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function(mouse) 
	if player:IsInGroup(3083232) then 
		if player.TeamColor ~= BrickColor.new("Bright yellow") then
			player.TeamColor = BrickColor.new("Bright blue")
		end
	end 
end)

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.

1 answer

✓ Accepted answer

This wouldn't be an issue with the script, rather an issue with your spawn point settings, check the property's of the spawn bricks, make sure each property is correct.

This discussion is preserved as it was. New answers, comments, and votes are closed.