Im trying to make it so that when part1 touches part2, part2 disappears any help?
Thanks,
Exsius
Im trying to make it so that when part1 touches part2, part2 disappears any help?
Thanks,
Exsius
function onTouched(hit)
if hit.Name == "part1" then
script.Parent:Destroy()
end
end
script.Parent.Touched:connect(onTouched)
This script goes inside part2.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Ok thanks!