Kaemi

`13131

Dec 30th, 2017
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects --or binmeplsforever
  2.  
  3. local InfoGUI = Instance.new("ScreenGui")
  4. local TopBar = Instance.new("Frame")
  5. local MainFrame = Instance.new("Frame")
  6. local Info = Instance.new("TextLabel")
  7. local OkayB = Instance.new("TextButton")
  8. local Credits = Instance.new("TextLabel")
  9.  
  10. -- Properties
  11.  
  12. InfoGUI.Name = "InfoGUI"
  13. InfoGUI.Parent = game.Players.LocalPlayer.PlayerGui
  14.  
  15. TopBar.Name = "TopBar"
  16. TopBar.Parent = InfoGUI
  17. TopBar.BackgroundColor3 = Color3.new(0.266667, 0.247059, 0.313726)
  18. TopBar.BorderSizePixel = 0
  19. TopBar.Position = UDim2.new(0.5, -173, 0.5, -74)
  20. TopBar.Size = UDim2.new(0, 347, 0, 34)
  21.  
  22. MainFrame.Name = "MainFrame"
  23. MainFrame.Parent = TopBar
  24. MainFrame.BackgroundColor3 = Color3.new(0.356863, 0.333333, 0.423529)
  25. MainFrame.BorderSizePixel = 0
  26. MainFrame.Position = UDim2.new(0, 0, 1, 0)
  27. MainFrame.Size = UDim2.new(0, 347, 0, 114)
  28.  
  29. Info.Name = "Info"
  30. Info.Parent = MainFrame
  31. Info.BackgroundColor3 = Color3.new(0.443137, 0.415686, 0.52549)
  32. Info.BorderSizePixel = 0
  33. Info.Size = UDim2.new(0, 347, 0, 78)
  34. Info.Font = Enum.Font.SourceSansLight
  35. Info.Text = "All you have to do to make this work, is get any axe and spam click on a tree a few times, ANY DISTANCE!"
  36. Info.TextColor3 = Color3.new(1, 1, 1)
  37. Info.TextScaled = true
  38. Info.TextSize = 14
  39. Info.TextWrapped = true
  40.  
  41. OkayB.Name = "OkayB"
  42. OkayB.Parent = MainFrame
  43. OkayB.BackgroundColor3 = Color3.new(0.443137, 0.415686, 0.52549)
  44. OkayB.BorderSizePixel = 0
  45. OkayB.Position = UDim2.new(0.268000007, 0, 0.709999979, 0)
  46. OkayB.Size = UDim2.new(0, 161, 0, 29)
  47. OkayB.Font = Enum.Font.SourceSansLight
  48. OkayB.Text = "Alright"
  49. OkayB.TextColor3 = Color3.new(1, 1, 1)
  50. OkayB.TextScaled = true
  51. OkayB.TextSize = 14
  52. OkayB.TextWrapped = true
  53.  
  54. Credits.Name = "Credits"
  55. Credits.Parent = MainFrame
  56. Credits.BackgroundColor3 = Color3.new(0.443137, 0.415686, 0.52549)
  57. Credits.BackgroundTransparency = 1
  58. Credits.BorderSizePixel = 0
  59. Credits.Position = UDim2.new(-0.0028818443, 0, 1.11403513, 0)
  60. Credits.Size = UDim2.new(0, 347, 0, 78)
  61. Credits.Font = Enum.Font.SourceSansLight
  62. Credits.Text = "GUI made by HowToBasic666/Hoofer"
  63. Credits.TextColor3 = Color3.new(1, 1, 1)
  64. Credits.TextScaled = true
  65. Credits.TextSize = 14
  66. Credits.TextWrapped = true
  67.  
  68. OkayB.MouseButton1Click:connect(function()
  69. InfoGUI.Enabled = false
  70. end)
  71.  
  72. local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
  73. mouse1.Button1Down:connect(function(key)
  74. Pressing=false
  75. end)
  76.  
  77. function GetAxe()
  78. if game.Players.LocalPlayer.Character:FindFirstChild("Tool") then
  79. return game.Players.LocalPlayer.Character:FindFirstChild("Tool")
  80. end
  81. end
  82.  
  83. local HitPoints={
  84. ['GoldAxe']= 50;
  85. ['BasicHatchet']= 0.2;
  86. ['Axe1']= 0.55;
  87. ['Axe2']= 0.93;
  88. ['AxeAlphaTesters']= 1.5;
  89. ['Rukiryaxe']= 1.68;
  90. ['Axe3']= 1.45;
  91. ['AxeBetaTesters']= 1.45;
  92. ['FireAxe']= 0.6;
  93. ['SilverAxe']= 1.6;
  94. ['EndTimesAxe']= 10000000;
  95. ['AxeChicken']= 0.1;
  96. ['CandyCaneAxe']= 0;
  97. }
  98.  
  99. local Pressing = false
  100.  
  101. local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
  102. mouse1.Button1Down:connect(function(key)
  103. Pressing=true
  104. poop(GetAxe())
  105. end)
  106.  
  107. local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
  108. mouse1.Button1Down:connect(function(key)
  109. Pressing=false
  110. end)
  111.  
  112. function cut(Height,Tool)
  113. local Tree=game.Players.LocalPlayer:GetMouse().Target
  114. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(Tree.Parent.CutEvent,{
  115. ["cuttingClass"] = "Axe",
  116. ["cooldown"] = 0,
  117. ["hitPoints"] = HitPoints[Tool.ToolName.Value],
  118. ["sectionId"] = 1,
  119. ["tool"] = Tool,
  120. ["faceVector"] = Vector3.new(-1,0,0),
  121. ["height"] = Height})
  122. end
  123.  
  124. function poop(Tool)
  125. while Pressing do
  126. for i=1,100 do
  127. wait()
  128. cut(_G.SIZE,Tool)
  129. cut(1,Tool)
  130. end
  131. end
  132. end
Add Comment
Please, Sign In to add comment