CPP 12
-50 health script Guest on 29th July 2020 02:38:27 PM
  1. script.parent.touched:Connect(function(hit)
  2.                 if hit ~= nil then
  3.                         local char = hit.parent
  4.                         if char ~= nil then
  5.                                 local hum = char:FindFirstChild("Humanoid")
  6.                                 if hum ~= nil then
  7.                                         hum.Health = 50 -- set that to how low you want the health to be
  8.                                 end
  9.                         end
  10.                 end
  11.         end
  12. end)

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.