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

Bodycolour bugs, can someone help me with it?

I have a script that changes bodycolour when you click it, but when a new player enters server the colour resets, can anyone help me fix this?

color1 = 23 function color() script.Parent.Parent.Parent.Parent.Character["Head"].BrickColor = BrickColor.new(color1) script.Parent.Parent.Parent.Parent.Character["Torso"].BrickColor = BrickColor.new(color1) script.Parent.Parent.Parent.Parent.Character["Left Arm"].BrickColor = BrickColor.new(color1) script.Parent.Parent.Parent.Parent.Character["Right Arm"].BrickColor = BrickColor.new(color1) script.Parent.Parent.Parent.Parent.Character["Left Leg"].BrickColor = BrickColor.new(color1) script.Parent.Parent.Parent.Parent.Character["Right Leg"].BrickColor = BrickColor.new(color1) end

script.Parent.MouseButton1Down:connect(color)

1 answer

✓ Accepted answer

There is a body color object inside a player and it will change the players body color if you can change the property with a script. Remember there is a body color feature inside the character also color = 23 is not a color.

1 comment

0

Actually it is, 23 is Bright Blue

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