Hasli4

Untitled

Sep 30th, 2026
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2.  
  3. script.Parent.Touched:Connect(function(hit)
  4. for _, player in ipairs(Players:GetPlayers()) do
  5. local character = player.Character
  6.  
  7. if character then
  8. local humanoid = character:FindFirstChildOfClass("Humanoid")
  9.  
  10. if humanoid then
  11. humanoid.Health = 0
  12. end
  13. end
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment