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

How do I make a choose your team sign with a surface GUI?

Asked by 7 years ago

I am trying to make a spawn room where players can use a board to choose their team but I don't know how to specify the player to perform the action on.

player = ?
button = game.Workspace.JoinTeam.SurfaceGui.teamRed

script.button.MouseButton1Click:connect (function()
    player.TeamColor = BrickColor("Bright red")
    player:LoadCharacter()
end)
0
You can't unless its a local part. johndeer2233 439 — 7y
0
what you could is in front of that button for the team place a invisible part with a clickdetector. do it that way johndeer2233 439 — 7y
0
You would use a remote event User#5423 17 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

This question was already answered here.

Ad

Answer this question