I know that there is a way to execute a script for when a player/Humanoid touches a brick, but is it possible to make a script execute a command for when a brick touches another brick?
Thanks!
I know that there is a way to execute a script for when a player/Humanoid touches a brick, but is it possible to make a script execute a command for when a brick touches another brick?
Thanks!
Touched functions do not specify for just players - they can work for a random part touching another part
script.Parent.Touched:connect(function(hit) -- You just need to define what "hit" the part
if hit.Name == "RandomPart" then
script.Parent.Transparency = 0.5
end)
This is just how I would suggest doing this.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you sooo much! This was just the thing that I was looking for! :) Thanks again! :)