I've been searching and searching for a brick only detection and there is none on YT (when players touch a brick nothing happens but when a brick touches a brick a script plays.) I have no idea if this is possible or if it's just a hard thing to do. Is it just a slight change like
function onTouched(Puck)
Or something?
Sorry no script because I have no idea. I'll try to figure out how the script works or maybe If I get a small piece of a script I may build up on it.
I'm a hockey fan so I'm trying to make a puck go into a goal and that'll activate scripts but when a player goes through the detector (aka. Inside the goal) no script will activate.

5 comments
"BasePart" isnt a classname, use or Puck:IsA("BasePart")
use if Puck:IsA("BasePart") instead of checking the classname
and you dont need to check if it is a union or a part using :IsA("BasePart")
Puck.ClassName == "BasePart" worked...
Ok so if it worked, then I just recommend according to these people that you just use .ClassName == "BasePart" or use :IsA("BasePart")