Advertisement
JacobRoblox

Untitled

May 11th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. local A_1 = 0.2
  2. local A_2 = 0.1
  3. local A_3 = 1
  4.  
  5. local lpchar = game.Players.LocalPlayer.Character
  6. while true do
  7. local npc = game.Workspace:GetChildren()
  8. for i = 1, #npc do local v = npc[i]
  9. if v.Name == "Thug" then
  10. pcall(function()
  11. v.HumanoidRootPart.Anchored = true
  12. game:GetService("ReplicatedStorage").Events.Punch:FireServer(A_1, A_2, A_3)
  13. lpchar.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame
  14. wait(1)
  15. v.Humanoid.Health = 0
  16. end)
  17.  
  18. wait(0.05)
  19. end
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement