Function ontouched(hit)

Local h= findfirstchild("humanoid") If h ~=nill then humanoid.health 0

end end

script.parent.touch:connect(ontouched)

1 comment

0

Sorry about the format it was actually suppost to be down instead of side