Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Simple Script on printing when touch part script,how do I make it work?

Asked by 8 years ago

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?

0
You never actually told it to print("Left Leg")... GoldenPhysics 474 — 8y

1 answer

Log in to vote
0
Answered by
cc567 50
8 years ago

There's no print function.

Ad

Answer this question