hello i want to make a script activation only on brick but idk how to do it, any help?
COMMUNITY QUESTION
How do i make scirpt activate ONLY ON BRICK touch?
1 answer
This Should Work
-- put this script in the part --
script.Parent.Touched:Connect(function() -- script.parent is the block where the script is in
print("This part was touched and now running") -- delete this if you want
--- Code Here
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
It's not always script.Parent. I think it'd be more effecient if you were to explain what the script.Parent represents
script.Parent is the script's parent