So lets say I want to make a part that when touched prints "Hi" in the output, like this:
local part = game.Workspace.Part
part.Touched:Connect(function() print("Hi") end)
This would work but it would print "Hi" multiple times. So how can I script it so that when it is hit it will print "Hi" but only once? Also how could I deactivate it so that if you walk over it again it wont work. I'm a beginner so any help will be appreciated, thanks!

1 comment
what