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

Team Gui Script Won't Work?

Player = game.Players.LocalPlayer
TeamChange = Player.PlayerGui.TeamChange
Xotac = TeamChange.XotacLegion
Raiders = TeamChange.Raiders

Xotac.MouseButton1Down:connect(function()
	Player.TeamColor = BrickColor.new("Cyan")
	Player.Character:BreakJoints()
end)

Raiders.MouseButton1Down:connect(function()
	Player.TeamColor = BrickColor.new("Bright red")
	Player.Character:BreakJoints()
end)

The team change works. But sometimes it spawns you on the wrong spawn, even though you are on the right team... I do not know if it something wrong with the properties.

2 comments

0

How are your spawns set up?

0

Raider im pretty sure is auto assignable and neutral. Because it is the first. the other is not.

1 answer

That happens to me too, I'd like an answer as well.

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