Advertisement
Honansik

Pirates Dream Script [SIMPLE AUTO FARM MOBS]

Dec 7th, 2021
2,374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. local plr           = game:GetService("Players").LocalPlayer
  2. local chr           = plr.Character
  3. local rootPart      = chr.HumanoidRootPart
  4.  
  5. _G.killall = true
  6.  
  7. local function killaura()
  8.    local ohString1 = "Combo1"
  9.    game:GetService("ReplicatedStorage").PassadorDeDados:FireServer(ohString1)
  10. end
  11.  
  12. spawn(function()
  13.    while wait() do
  14.        if _G.killall then
  15.            pcall(function()
  16.                for i,v in pairs(game.Players:GetPlayers()) do
  17.                    if v ~= plr then
  18.                        if v.Character.Humanoid.Health > 0 then
  19.                            rootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,2)
  20.                            killaura()
  21.                        end
  22.                    end
  23.                end
  24.            end)
  25.        end
  26.    end
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement