Advertisement
Guest User

SMOOTH SLICING (KILL AURA) ROBLOX

a guest
Oct 14th, 2022
13,071
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. if game.Players.LocalPlayer == nil then
  2. game.Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
  3. end
  4.  
  5. local Player = game.Players.LocalPlayer
  6. local Debounce = false
  7. local Killaura = true
  8. local Mouse = Player:GetMouse()
  9. local function Attack(Target)
  10. if Player.Character == nil or Target.Character == nil then
  11. return
  12. end
  13. local WeaponFolder = Player.Character:FindFirstChildOfClass("Folder")
  14. if WeaponFolder == nil or not WeaponFolder:FindFirstChild("Laminas") then
  15. return
  16. end
  17. if Target.Character:FindFirstChild("Humanoid") and Target.Character.Humanoid.Health <= 0 then
  18. return
  19. end
  20. game:GetService("ReplicatedStorage").LocalPlayer.EventoPrincipal:FireServer("Estado Ataque", true, 1, {})
  21. for i,v in pairs(Target.Character:GetChildren()) do
  22. if v:IsA("UnionOperation") then
  23. game:GetService("ReplicatedStorage").LocalPlayer.EventoPrincipal:FireServer("Parte Acertada", v.CFrame, WeaponFolder.Laminas.Lamina, v, v.CFrame * CFrame.new(0,math.random(-2,2),math.random(-3,3)), v.CFrame * CFrame.new(0,math.random(-2,2),math.random(-3,3)))
  24. end
  25. end
  26. game:GetService("ReplicatedStorage").LocalPlayer.EventoPrincipal:FireServer("Estado Ataque", false)
  27. end
  28.  
  29. game:GetService('RunService').Stepped:connect(function()
  30. if Debounce == false and Killaura == true then
  31. Debounce = true
  32. for i,v in pairs(game.Players:GetPlayers()) do
  33. if v ~= Player and not Player:IsFriendsWith(v.UserId) and v.Character ~= nil and v.Character:FindFirstChild("HumanoidRootPart") and Player:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) <= 20 then
  34. Attack(v)
  35. end
  36. end
  37. wait()
  38. Debounce = false
  39. end
  40. end)
  41.  
  42. Mouse.KeyDown:Connect(function(key)
  43. if key == "g" then
  44. Killaura = not Killaura
  45. local currenttext = ""
  46. if Killaura == true then
  47. currenttext = "Killaura is now turned ON!"
  48. else
  49. currenttext = "Killaura is now turned OFF!"
  50. end
  51. game.StarterGui:SetCore("SendNotification", {
  52. Title = "notification";
  53. Text = currenttext;
  54. Icon = "rbxassetid://2541869220";
  55. Duration = 3;
  56. })
  57. end
  58. end)
  59.  
  60. game.StarterGui:SetCore("SendNotification", {
  61. Title = "Killaura is now on";
  62. Text = "Press G to toggle\n Made by Aidez";
  63. Icon = "rbxassetid://2541869220";
  64. Duration = 7;
  65. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement