TheInsaneScripter77

Anomic - Kill all(roblox)

Apr 6th, 2021 (edited)
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. for i,v in pairs(game.Players:GetChildren()) do
  2.  
  3.   if not v.Character then continue end
  4.   local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
  5.   local vhrp = v.Character.HumanoidRootPart
  6.   if vhrp == hrp then continue end
  7.   if v.Character.Humanoid.Sit == true then continue end
  8.   hrp.CFrame = vhrp.CFrame + (-vhrp.CFrame.lookVector)
  9.    while v.Character.Humanoid.Health > 0 do
  10.        
  11.        if (v.Character.Humanoid.Health <= 0) then break end
  12.         hrp.CFrame = vhrp.CFrame + (-vhrp.CFrame.lookVector)
  13.        for i =1,10 do
  14.        game:GetService("ReplicatedStorage")["_CS.Events"].MeleeHit:FireServer()
  15.        game:GetService("ReplicatedStorage")["_CS.Events"].MeleeHit:FireServer()
  16.        game:GetService("ReplicatedStorage")["_CS.Events"].MeleeHit:FireServer()
  17.        game:GetService("ReplicatedStorage")["_CS.Events"].MeleeHit:FireServer()
  18.        end
  19.  
  20.        game:GetService('RunService').RenderStepped:wait()
  21.    end
  22. end
Add Comment
Please, Sign In to add comment