I am a bit rusty, so this may or may not work, but in my own experience I had to go do each individual body part when I wanted to change skin color/ material color/ transparency.
hit.Parent['Body Colors']:Destroy()
for _,v in pairs(hit.Parent:GetChildren()) do
if v.ClassName == "Part" then
v.BrickColor = BrickColor.new("Light blue")
end
end
I am terrible at explaining what you did wrong, so let me see if I can come up with a solution. Remember I am rusty to high h*ll so forgive me.
hit.Parent['Body Colors':Destroy()
for _,v in pairs(hit.Parent:GetChildren()) do
if v.ClassName == "Part" then
v["Left Leg"].BrickColor = BrickColor.new("Light blue")
v["Right Leg"].BrickColor = BrickColor.new("Light blue")
v["Left Arm"].BrickColor = BrickColor.new("Light blue")
v["Right Arm"].BrickColor = BrickColor.new("Light blue")
v["Torso"].BrickColor = BrickColor.new("Light blue")
v["Head"].BrickColor = BrickColor.new("Light blue")
end
end
end
This may or may not work, like I said I am pretty rusty.
1 comment
if you add a wait() before the for loop it will work