Hasli4

FireDamage

Dec 14th, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local fire_on = true
  2. function onTouchBam(who)
  3.      if fire_on == true and who.Parent.Humanoid then
  4.          fire_on = false
  5.          if script.Parent.Fire then
  6.              who.Parent.Humanoid:TakeDamage(20)
  7.              wait(0.2)
  8.              fire_on = true
  9.          end
  10.      end
  11. end
  12. script.Parent.Touched:Connect(onTouchBam)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment