TEXT 900
Be A Parkour Ninja Kill All Script Guest on 27th September 2022 04:13:53 AM
  1. local player = game:GetService("Players").LocalPlayer
  2. function getremote(name)
  3.     return game:GetService("ReplicatedStorage").RemoteTriggers:FindFirstChild(name)
  4. end
  5. function damage(humanoid,item)
  6.     getremote("Bolster"):FireServer(humanoid,item)
  7. end
  8. function goto(part)
  9.     local rootpart = player.Character.HumanoidRootPart
  10.     local lastcf = rootpart.CFrame
  11.     local cframe = part.CFrame
  12.     local step = 1/((lastcf.p-cframe.p).Magnitude/player.Character.Humanoid.WalkSpeed)
  13.     step /= 36
  14.     local steps = 0
  15.     for i = 0,1,step do
  16.         rootpart.CFrame = lastcf:Lerp(cframe,i)
  17.         player.Character.Humanoid:MoveTo(cframe.p)
  18.         rootpart.Velocity = rootpart.CFrame.lookVector*player.Character.Humanoid.WalkSpeed
  19.         if steps % 10 == 1 then
  20.             player.Character.Humanoid:ChangeState("Jumping")
  21.         end
  22.         game:GetService("RunService").Stepped:Wait()
  23.         steps += 1
  24.     end
  25.     rootpart.CFrame = part.CFrame
  26. end
  27. function kill(humanoid)
  28.     local attacktool = player.Backpack:GetChildren()[1] or player.Character:FindFirstChildWhichIsA("Tool")
  29.     repeat damage(humanoid,attacktool) wait(0.25) until humanoid.Health <= 0
  30. end
  31. for _,x in pairs(game:GetService("Players"):GetPlayers()) do
  32.     if x ~= player then
  33.         pcall(function()
  34.             goto(x.Character.Head)
  35.             kill(x.Character.Humanoid)
  36.         end)
  37.         wait(1)
  38.     end
  39. end

Texbin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.