i couldn't fit my qustion to long)
Why does the part change color when another part touches it i specified Humanoid can someone explain why it dosn't work?
script.Parent.Touched:Connect(function() script.Parent:FindFirstChild("Humanoid") script.Parent.BrickColor = BrickColor.new("Baby blue") end)
ur code wrong is wrong code Freddan I will use the limited information u give me to construct try and build code Freddan:
1 | script.Parent.Touched:Connect( function (hit) |
2 | if hit.Parent:FindFirstChild( "Humanoid" ) then |
3 | script.Parent.BrickColor = BrickColor.new( "Baby blue" ) |
4 | end |
5 | end ) |