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

Can someone help?

Asked by 10 years ago

When I tested my team change GUI, I didn't change any team. I have no idea what's wrong with it.

Is there some errors that I need to fix?

Do I need to add more stuff?

Here's the local script:

script.Parent.MouseButton1Down:connect(f­unction()
game.Players.LocalPlayer.TeamColor = BrickColor.new("Pastel Blue") 
end)
0
Try using the RGB coordinates, instead of a string. systematicaddict 295 — 10y

2 answers

Log in to vote
-1
Answered by
Rukory 0
10 years ago

Did you use Click Detector?

Ad
Log in to vote
-1
Answered by 10 years ago

Why isn't function in blue?? I think that's where the problem is, Also, could you provide the output error if there is any? I would suggest that you move the script into StarterPack, then change script.Parent to the path of the GUI.

Answer this question