Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. local tools = 100
  2. local time = 100
  3.  
  4. while true do
  5. for i = 1,tools do
  6. local remote = Game["ReplicatedStorage"]["RemoteFunctionz"]["Gear"]["Equip"]
  7. local args = {
  8. [1] = true --[[boolean]],
  9. [2] = 2 --[[number]], --- slot 1,2,3
  10. [3] = "Stone Axe", --- name of tool
  11. [4] = 0 --[[number]],
  12. [5] = 0 --[[number]]
  13. }
  14. remote:FireServer(unpack(args))
  15. for i,v in next, game.Players.LocalPlayer.Backpack:GetChildren() do
  16. if v.Name == 'ActiveGear' then
  17. v.Parent = game.Players.LocalPlayer.Character
  18. end
  19. end
  20. print("done")
  21. end
  22.  
  23. wait(2)
  24.  
  25. spawn(function()
  26. while true do
  27. wait()
  28. local yeet = getsenv(game.Players.LocalPlayer.PlayerGui.GameGui.Stamina)
  29. yeet.stamina = math.huge
  30. end
  31. end)
  32.  
  33. spawn(function()
  34. while true do
  35. for i,v in next, game.Players.LocalPlayer.Backpack:GetChildren() do
  36. if v.Name == 'ActiveGear' then
  37. v.Parent = game.Players.LocalPlayer.Character
  38. end
  39. end
  40. wait(.5)
  41. for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
  42. if v.Name == 'ActiveGear' then
  43. v.ToolScript.Swing:FireServer()
  44. end
  45. end
  46. for i,v in next, getnilinstances() do
  47. if v.Name == 'ActiveGear' and v:FindFirstChild'Type' and v.Type.Value == 'Pickaxe' then
  48. v.Parent = game.Players.LocalPlayer.Character
  49. end
  50. end
  51. wait(0.5)
  52. end
  53. end)
  54.  
  55. spawn(function()
  56. local yeet = game.workspace.Trees
  57. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  58. local stam = getsenv(game.Players.LocalPlayer.PlayerGui.GameGui.Stamina)
  59. for i,v in next, yeet:GetChildren() do
  60. while v.Trunk.Broken.Value == false do
  61. wait(0.05)
  62. root.CFrame = v.Trunk.CFrame + Vector3.new(0,-1.5,0) + root.CFrame.lookVector * -4.5
  63. end
  64. end
  65. end)
  66.  
  67. wait(time)
  68. for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
  69. if v.Name == "ActiveGear" then
  70. v:destroy()
  71. end
  72. end
  73. wait(1)
  74. game.ReplicatedStorage.RemoteFunctionz.Environment.Reset:FireServer()
  75. wait(9)
  76. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement