Advertisement
Vzurxy

Untitled

Aug 4th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. function code()
  2. local plr = game.Players.LocalPlayer
  3. PPower = 100000000000000
  4. power = plr.leaderstats.Power.Value
  5. function B()
  6. local plrN = game.Players.LocalPlayer.Name
  7. local Event = game:GetService("Players")[plrN].Backpack.Sword.Script.RemoteEvent
  8. Event:FireServer()
  9. end
  10. function W()
  11. local plrN = game.Players.LocalPlayer.Name
  12. local Event = game:GetService("Workspace")[plrN].Sword.Script.RemoteEvent
  13. Event:FireServer()
  14. end
  15. while power < PPower and on == 1 do
  16. local plr = game.Players.LocalPlayer
  17. power = plr.leaderstats.Power.Value
  18. wait()
  19. local good,Error = pcall(B)
  20. if good then
  21. B()
  22. else
  23. W()
  24. end
  25. end
  26. end
  27.  
  28.  
  29. on = 1
  30. on = 1
  31. wait(1)
  32. while on == 1 do
  33. game:GetService('RunService').Stepped:wait(0)
  34. code()
  35. end
  36. end
  37. end)
  38. on = 1
  39. wait(1)
  40. while on == 1 do
  41. game:GetService('RunService').Stepped:wait(0)
  42. local plrN = game.Players.LocalPlayer.Name
  43. for a,b in pairs(game.Players:GetChildren()) do
  44. if b.Name ~= plrN then
  45. for c,d in pairs(game.Workspace:GetChildren()) do
  46. if d.Name == b.Name then
  47. player = d.Name
  48. local A_1 = game:GetService("Workspace")[player].Humanoid
  49. function Ba()
  50. local plrN = game.Players.LocalPlayer.Name
  51. local Event = game:GetService("Players")[plrN].Backpack.Sword.dmg.RemoteEvent
  52. local A_1 = game:GetService("Workspace")[player].Humanoid
  53. Event:FireServer(A_1)
  54. end
  55.  
  56. function Wo()
  57. local plrN = game.Players.LocalPlayer.Name
  58. local A_1 = game:GetService("Workspace")[player].Humanoid
  59. local Event = game:GetService("Workspace")[plrN].Sword.dmg.RemoteEvent
  60. Event:FireServer(A_1)
  61. end
  62.  
  63. local Suc,Err = pcall(Ba)
  64. if Suc then
  65. Ba()
  66. else
  67. Wo()
  68. end
  69. end
  70. end
  71. end
  72. end
  73. end
  74. end
  75. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement