SHARE
TWEET

LOL

a guest Dec 15th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local angle = 0
  2. local canuse = true
  3.  
  4. game:GetService("RunService").RenderStepped:Connect(function()if(canuse)then
  5.     if(game.Players.LocalPlayer.Character.Humanoid.Health==0)then canuse = false else
  6.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = (workspace.D4rk_xMexican.HumanoidRootPart.CFrame*CFrame.Angles(0,angle,0))*CFrame.new(0,0,8)
  7.         angle = angle + 1
  8.         for i, v in pairs(workspace:GetChildren()) do
  9.             if(v:FindFirstChild("Humanoid")and(v:FindFirstChild("HumanoidRootPart")))and(v.Name~=game.Players.LocalPlayer.Name)then
  10.                 local mag = (v.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  11.                 if(mag<=5)then
  12.                    
  13.                 if(game.Players.LocalPlayer.Character~=nil)and not(game.Players.LocalPlayer.Character:FindFirstChild("sword"))then
  14.                     game.Players.LocalPlayer.Backpack:WaitForChild("sword").Parent = game.Players.LocalPlayer.Character
  15.                 end
  16.                 game.Players.LocalPlayer.Character.sword.Handle.dmg.RemoteEvent:FireServer(v.Humanoid,v.Humanoid.MaxHealth*0.05)
  17.                 game.Players.LocalPlayer.Character.sword.Parent = game.Players.LocalPlayer.Backpack
  18.             end
  19.         end
  20.     end
  21.     end
  22.     end
  23. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top