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 8 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.

1player = ?
2button = game.Workspace.JoinTeam.SurfaceGui.teamRed
3 
4script.button.MouseButton1Click:connect (function()
5    player.TeamColor = BrickColor("Bright red")
6    player:LoadCharacter()
7end)
0
You can't unless its a local part. johndeer2233 439 — 8y
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 — 8y
0
You would use a remote event User#5423 17 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

This question was already answered here.

Ad

Answer this question