I was making the person who clicked it, turn into a certain thing but the body colors and such won't change? local script
local player = game.Players.LocalPlayer.Character
local shirt = player:FindFirstChild("Shirt")
local pants = player:FindFirstChild("Pants")
local face = player.Head:FindFirstChild("face")
local tshirt = player:FindFirstChild("Shirt Graphic")
local mesh = player:FindFirstChild("CharacterMesh")
local hats = player:FindFirstChild("Hat")
local body = player:FindFirstChild("Body Colors")
function onClick()
body.HeadColor = BrickColor.new("Bright yellow")
body.TorsoColor = BrickColor.new("Bright blue")
body.LeftArmColor = BrickColor.new("Bright yellow")
body.RightArmColor = BrickColor.new("Bright yellow")
body.LeftLegColor = BrickColor.new("Bright green")
body.RightLegColor = BrickColor.new("Bright green")
shirt:remove()
pants:remove()
tshirt:remove()
mesh:remove()
hats:remove()
face.Texture = "http://www.roblox.com/asset/?id=155216144"
end
script.Parent.MouseButton1Down:connect(onClick)
Error: Players.Player.PlayerGui.ShopGUI.GearFrame.Frame.ImageButton.LocalScript:10: attempt to index upvalue 'body' (a nil value)

5 comments
Same error?
Oh, right. On line 8 of "local body"; BodyColors should have a space in between in both words. So "Body Colors"
Well I did that, nothing happened, and no error is showing
That did fix the error though. Maybe change the :remove() to :Destroy(). If not then I really recommend in using a for loop for this.
The error came back, also I dunno how to use loops very well.