So I'm making a script that's supposed to change your skin colour, but to do that you need to find a value called 'Body Colours' in the player, how do I do that? I tried
local player = script.Parent.Parent
local Acplayer = game.Workspace:FindFirstChild(player)
Acplayer.Body Colour
but it cant find a child who's name has a space in it

3 comments
When you want to reference a child with a space in its name, use square brackets. Ex: Acplayer["Body Colour"] An alternative is to use :FindFirstChild. Ex: Acplayer:FindFirstChild("Body Colour")
You need to pass the string to FindFirstChild such as player.Name
Oh okay thanks screwdeath that worked