Advertisement
dubleeyrblxx

Slow damage -- Roblox

Jul 27th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. -- Damage Script
  2. -- Put in block you want to hurt player
  3.  
  4. script.Parent.Touched:Connect(function(hit)
  5.     local humanoid = hit.Parent:FindFirstChildWhichIsA("Humanoid")
  6.     if humanoid then
  7.         humanoid.Health = humanoid.Health-3 -- How much you want it to do a second
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement