So I wanted to make a script that makes a player's body colour change when they touch a part but so far what I've tried doesn't work. Please help
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
wait(1)
for _, child in pairs(character:GetChildren()) do
if child:IsA("BasePart") then
child.BrickColor = BrickColor.new("Dark green")
Is what I've tried

4 comments
I'd personally use a HumanoidDescription and make the Humanoid of the Character use the description. Not only is it easier, but it saves you quite a bit of time.
https://developer.roblox.com/en-us/api-reference/class/HumanoidDescription
If you need BrickColor references as well, use https://developer.roblox.com/en-us/articles/BrickColor-Codes
Thanks! It works perfectly now.