local player = game.Players.LocalPlayer
while not player.Character do
wait()
end
local character = player.Character
local colors = character.BodyColors
if colors then
colors.HeadColor = BrickColor.new(1)
colors.LeftArmColor = BrickColor.new(1)
colors.RightArmColor = BrickColor.new(1)
colors.TorsoColor = BrickColor.new(1)
colors.LeftLegColor = BrickColor.new(1)
colors.RightLegColor = BrickColor.new(1)
end
How would I access BodyColors? In Play Solo, it's Body Colors, not BodyColors, but I can't write down Body Colors in the script without getting this error:
18:39:50.013 - Players.Player1.PlayerGui.Characters:8: '=' expected near 'if'

2 comments
Use FindFirstChild("Body Colors") whenever you need to search for something with a space in its name.
Oh thank you, I am sort of new to some of this stuff.