Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Team Gui Script Won't Work?

Asked by 10 years ago
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.

0
How are your spawns set up? blocco 185 — 10y
0
Raider im pretty sure is auto assignable and neutral. Because it is the first. the other is not. BosswalrusTheCoder 88 — 10y

1 answer

Log in to vote
1
Answered by 10 years ago

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

Ad

Answer this question