Advertisement
Guest User

Untitled

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