Advertisement
_Thanh_Thy_Cute_

Zombie Uprising INSTANT KILL

Aug 27th, 2021
2,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. local UserInputService = game:GetService("UserInputService")
  2. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  3.  
  4. local function began(i, is)
  5. if i.UserInputType == Enum.UserInputType.MouseButton1 then
  6. if mouse.Target and mouse.Target.Parent.Name ~= "Boss" then
  7. local w = mouse.Target.Parent:FindFirstChild("Humanoid")
  8. if w then
  9. repeat
  10. wait()
  11. until w.Health ~= w.MaxHealth
  12. w.Health = 0
  13. end
  14. end
  15. end
  16. end
  17.  
  18. UserInputService.InputBegan:Connect(began)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement