#TEAMCOLOR script
4 messages · Page 1 of 1 (latest)
And why are you using a script instead of a LocalScript in a gui
It is more recommended to use a LocalScript and if you want to send information to a script use a remote event or a remote function
- Replace the Script with a LocalScript
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.TeamColor = BrickColor.new("Neon Orange")
end)
If you don't want to change the TeamColor of the person who clicked the button, then just follow step 1.