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

Can someone help?

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)

1 comment

0

Try using the RGB coordinates, instead of a string.

2 answers

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.

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