I have a rocket coming down from the sky. I want it to do something when it hits anything (including terrain). However, the following exert from my script script does nothing:
function onTouch(part)
print("called")
if ready then
print("time for boom boom :D")
end
end
script.Parent.Touched:connect(onTouch)
The script is not disabled or anything, it just doesn't recognize when the part touches something.
Also, IDK if this can affect it, but the part has a mesh in it.

2 comments
Meshes don't really work properly with the Touched event. You would need a hitbox with no mesh.
Oh thx I will try that