script.Parent.Touched:connect(function(hit) if hit.Name == ("Left Leg") then script.Parent.BrickColor = BrickColor.new("Bright red") end
end)
it won't print Left Leg when I touch the part,whats the problem?
script.Parent.Touched:connect(function(hit) if hit.Name == ("Left Leg") then script.Parent.BrickColor = BrickColor.new("Bright red") end
end)
it won't print Left Leg when I touch the part,whats the problem?
There's no print function.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You never actually told it to print("Left Leg")...