Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function code()
- local plr = game.Players.LocalPlayer
- PPower = 100000000000000
- power = plr.leaderstats.Power.Value
- function B()
- local plrN = game.Players.LocalPlayer.Name
- local Event = game:GetService("Players")[plrN].Backpack.Sword.Script.RemoteEvent
- Event:FireServer()
- end
- function W()
- local plrN = game.Players.LocalPlayer.Name
- local Event = game:GetService("Workspace")[plrN].Sword.Script.RemoteEvent
- Event:FireServer()
- end
- while power < PPower and on == 1 do
- local plr = game.Players.LocalPlayer
- power = plr.leaderstats.Power.Value
- wait()
- local good,Error = pcall(B)
- if good then
- B()
- else
- W()
- end
- end
- end
- on = 1
- on = 1
- wait(1)
- while on == 1 do
- game:GetService('RunService').Stepped:wait(0)
- code()
- end
- end
- end)
- on = 1
- wait(1)
- while on == 1 do
- game:GetService('RunService').Stepped:wait(0)
- local plrN = game.Players.LocalPlayer.Name
- for a,b in pairs(game.Players:GetChildren()) do
- if b.Name ~= plrN then
- for c,d in pairs(game.Workspace:GetChildren()) do
- if d.Name == b.Name then
- player = d.Name
- local A_1 = game:GetService("Workspace")[player].Humanoid
- function Ba()
- local plrN = game.Players.LocalPlayer.Name
- local Event = game:GetService("Players")[plrN].Backpack.Sword.dmg.RemoteEvent
- local A_1 = game:GetService("Workspace")[player].Humanoid
- Event:FireServer(A_1)
- end
- function Wo()
- local plrN = game.Players.LocalPlayer.Name
- local A_1 = game:GetService("Workspace")[player].Humanoid
- local Event = game:GetService("Workspace")[plrN].Sword.dmg.RemoteEvent
- Event:FireServer(A_1)
- end
- local Suc,Err = pcall(Ba)
- if Suc then
- Ba()
- else
- Wo()
- end
- end
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement