function hurtplayer(e) Detect = PlyrDist(e) Health = Health(e) if Detect < 100 then Health(-1) end end