Advertisement
TheJagExploits

Untitled

Apr 12th, 2020
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.94 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local main = Instance.new("Frame")
  8. local ImageLabel = Instance.new("ImageLabel")
  9. local TITLE = Instance.new("TextLabel")
  10. local dots = Instance.new("TextLabel")
  11. local buttontolocal = Instance.new("TextButton")
  12. local buttontoguihub = Instance.new("TextButton")
  13. local buttontocredits = Instance.new("TextButton")
  14. local mainframe = Instance.new("Frame")
  15. local Fly = Instance.new("TextButton")
  16. local NoClip = Instance.new("TextButton")
  17. local MaxLand = Instance.new("TextButton")
  18. local AllBp = Instance.new("TextButton")
  19. local GoldenAxe = Instance.new("TextButton")
  20. local SellWood = Instance.new("TextButton")
  21. local localvb = Instance.new("TextLabel")
  22. local backfrommainframetomain = Instance.new("TextButton")
  23. local guimain = Instance.new("Frame")
  24. local LumberJoke = Instance.new("TextButton")
  25. local Money = Instance.new("TextButton")
  26. local Shiros = Instance.new("TextButton")
  27. local BaseSpawn = Instance.new("TextButton")
  28. local TextLabel = Instance.new("TextLabel")
  29. local backtomainfromguimain = Instance.new("TextButton")
  30. local credits = Instance.new("Frame")
  31. local TextLabel_2 = Instance.new("TextLabel")
  32. local TextLabel_3 = Instance.new("TextLabel")
  33. local TextLabel_4 = Instance.new("TextLabel")
  34. local TextLabel_5 = Instance.new("TextLabel")
  35. local backtomainfromcredits = Instance.new("TextButton")
  36. local TextLabel_6 = Instance.new("TextLabel")
  37.  
  38. --Properties:
  39.  
  40. ScreenGui.Parent = game.CoreGui
  41.  
  42. main.Name = "main"
  43. main.Parent = ScreenGui
  44. main.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  45. main.BorderColor3 = Color3.fromRGB(239, 50, 77)
  46. main.Position = UDim2.new(0.058269836, 0, 0.35128808, 0)
  47. main.Size = UDim2.new(0, 300, 0, 243)
  48. main.Active = true
  49. main.Draggable = true
  50.  
  51. ImageLabel.Parent = main
  52. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. ImageLabel.Position = UDim2.new(0.0633333325, 0, 0.136715397, 0)
  54. ImageLabel.Size = UDim2.new(0, 100, 0, 100)
  55. ImageLabel.Image = "http://www.roblox.com/asset/?id=4887780469"
  56.  
  57. TITLE.Name = "TITLE"
  58. TITLE.Parent = main
  59. TITLE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  60. TITLE.BackgroundTransparency = 1.000
  61. TITLE.Position = UDim2.new(0.0633333325, 0, 0.740417719, 0)
  62. TITLE.Size = UDim2.new(0, 261, 0, 50)
  63. TITLE.Font = Enum.Font.GothamBlack
  64. TITLE.Text = "VEIN GUI V.1"
  65. TITLE.TextColor3 = Color3.fromRGB(239, 50, 77)
  66. TITLE.TextScaled = true
  67. TITLE.TextSize = 14.000
  68. TITLE.TextWrapped = true
  69.  
  70. dots.Name = "dots"
  71. dots.Parent = main
  72. dots.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. dots.BackgroundTransparency = 1.000
  74. dots.Position = UDim2.new(-0.00333333341, 0, 0.493504167, 0)
  75. dots.Size = UDim2.new(0, 300, 0, 50)
  76. dots.Font = Enum.Font.GothamBlack
  77. dots.Text = "___________"
  78. dots.TextColor3 = Color3.fromRGB(239, 50, 77)
  79. dots.TextScaled = true
  80. dots.TextSize = 14.000
  81. dots.TextWrapped = true
  82.  
  83. buttontolocal.Name = "buttontolocal"
  84. buttontolocal.Parent = main
  85. buttontolocal.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  86. buttontolocal.Position = UDim2.new(0.529999971, 0, 0.0411522537, 0)
  87. buttontolocal.Size = UDim2.new(0, 80, 0, 40)
  88. buttontolocal.Font = Enum.Font.GothamBlack
  89. buttontolocal.Text = "LOCAL SCRIPTS"
  90. buttontolocal.TextColor3 = Color3.fromRGB(255, 255, 255)
  91. buttontolocal.TextScaled = true
  92. buttontolocal.TextSize = 14.000
  93. buttontolocal.TextWrapped = true
  94. buttontolocal.MouseButton1Down:connect(function()
  95. mainframe.Visible = true
  96. end)
  97.  
  98. buttontoguihub.Name = "buttontoguihub"
  99. buttontoguihub.Parent = main
  100. buttontoguihub.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  101. buttontoguihub.Position = UDim2.new(0.529999971, 0, 0.259259284, 0)
  102. buttontoguihub.Size = UDim2.new(0, 80, 0, 40)
  103. buttontoguihub.Font = Enum.Font.GothamBlack
  104. buttontoguihub.Text = "OP GUI HUB"
  105. buttontoguihub.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. buttontoguihub.TextScaled = true
  107. buttontoguihub.TextSize = 14.000
  108. buttontoguihub.TextWrapped = true
  109. buttontoguihub.MouseButton1Down:connect(function()
  110. guimain.Visible = true
  111. end)
  112.  
  113. buttontocredits.Name = "buttontocredits"
  114. buttontocredits.Parent = main
  115. buttontocredits.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  116. buttontocredits.Position = UDim2.new(0.529999971, 0, 0.473251015, 0)
  117. buttontocredits.Size = UDim2.new(0, 80, 0, 40)
  118. buttontocredits.Font = Enum.Font.GothamBlack
  119. buttontocredits.Text = "INFO"
  120. buttontocredits.TextColor3 = Color3.fromRGB(255, 255, 255)
  121. buttontocredits.TextScaled = true
  122. buttontocredits.TextSize = 14.000
  123. buttontocredits.TextWrapped = true
  124. buttontocredits.MouseButton1Down:connect(function()
  125. credits.Visible = true
  126. end)
  127.  
  128. mainframe.Name = "mainframe"
  129. mainframe.Parent = ScreenGui
  130. mainframe.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  131. mainframe.BorderColor3 = Color3.fromRGB(239, 50, 77)
  132. mainframe.Position = UDim2.new(0.276109397, 0, 0.275175631, 0)
  133. mainframe.Size = UDim2.new(0, 700, 0, 141)
  134. mainframe.Visible = false
  135. main.Draggable = true
  136.  
  137. Fly.Name = "Fly"
  138. Fly.Parent = mainframe
  139. Fly.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  140. Fly.Position = UDim2.new(0.102857143, 0, 0.111111104, 0)
  141. Fly.Size = UDim2.new(0, 70, 0, 50)
  142. Fly.Font = Enum.Font.GothamBlack
  143. Fly.Text = "FLY"
  144. Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  145. Fly.TextScaled = true
  146. Fly.TextSize = 14.000
  147. Fly.TextWrapped = true
  148.  
  149. local toggle = false
  150. Fly.MouseButton1Click:Connect(function()
  151. toggle = not toggle
  152. Fly.TextColor3 = (toggle and Color3.fromRGB(85, 255, 127) or Color3.fromRGB(255,255,255))
  153. if toggle then
  154. flying = not flying
  155. repeat wait()
  156. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  157. local mouse = game.Players.LocalPlayer:GetMouse()
  158. repeat wait() until mouse
  159. local plr = game.Players.LocalPlayer
  160. local torso = plr.Character.Torso
  161. local deb = true
  162. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  163. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  164. local maxspeed = 200
  165. local speed = 0
  166. if flying then
  167. end
  168.  
  169. function FlyFunction()
  170. local bg = Instance.new("BodyGyro", torso)
  171. bg.P = 9e4
  172. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  173. bg.cframe = torso.CFrame
  174. local bv = Instance.new("BodyVelocity", torso)
  175. bv.velocity = Vector3.new(0,0.1,0)
  176. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  177. repeat wait()
  178. plr.Character.Humanoid.PlatformStand = true
  179. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  180. speed = speed+.5+(speed/maxspeed)
  181. if speed > maxspeed then
  182. speed = maxspeed
  183. end
  184. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  185. speed = speed-1
  186. if speed < 0 then
  187. speed = 0
  188. end
  189. end
  190. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  191. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  192. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  193. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  194. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  195. else
  196. bv.velocity = Vector3.new(0,0.1,0)
  197. end
  198. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  199. until not flying
  200. ctrl = {f = 0, b = 0, l = 0, r = 0}
  201. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  202. speed = 0
  203. bg:Destroy()
  204. bv:Destroy()
  205. plr.Character.Humanoid.PlatformStand = false
  206. end
  207. mouse.KeyDown:connect(function(key)
  208. if key:lower() == "w" then
  209. ctrl.f = 1
  210. elseif key:lower() == "s" then
  211. ctrl.b = -1
  212. elseif key:lower() == "a" then
  213. ctrl.l = -1
  214. elseif key:lower() == "d" then
  215. ctrl.r = 1
  216.  
  217. end
  218. end)
  219. mouse.KeyUp:connect(function(key)
  220. if key:lower() == "w" then
  221. ctrl.f = 0
  222. elseif key:lower() == "s" then
  223. ctrl.b = 0
  224. elseif key:lower() == "a" then
  225. ctrl.l = 0
  226. elseif key:lower() == "d" then
  227. ctrl.r = 0
  228. end
  229. end)
  230. FlyFunction()
  231. else
  232. flying = not flying
  233. repeat wait()
  234. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  235. local mouse = game.Players.LocalPlayer:GetMouse()
  236. repeat wait() until mouse
  237. local plr = game.Players.LocalPlayer
  238. local torso = plr.Character.Torso
  239. local deb = true
  240. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  241. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  242. local maxspeed = 200
  243. local speed = 0
  244. if flying then
  245. end
  246.  
  247. function FlyFunction()
  248. local bg = Instance.new("BodyGyro", torso)
  249. bg.P = 9e4
  250. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  251. bg.cframe = torso.CFrame
  252. local bv = Instance.new("BodyVelocity", torso)
  253. bv.velocity = Vector3.new(0,0.1,0)
  254. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  255. repeat wait()
  256. plr.Character.Humanoid.PlatformStand = true
  257. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  258. speed = speed+.5+(speed/maxspeed)
  259. if speed > maxspeed then
  260. speed = maxspeed
  261. end
  262. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  263. speed = speed-1
  264. if speed < 0 then
  265. speed = 0
  266. end
  267. end
  268. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  269. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  270. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  271. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  272. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  273. else
  274. bv.velocity = Vector3.new(0,0.1,0)
  275. end
  276. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  277. until not flying
  278. ctrl = {f = 0, b = 0, l = 0, r = 0}
  279. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  280. speed = 0
  281. bg:Destroy()
  282. bv:Destroy()
  283. plr.Character.Humanoid.PlatformStand = false
  284. end
  285. mouse.KeyDown:connect(function(key)
  286. if key:lower() == "w" then
  287. ctrl.f = 1
  288. elseif key:lower() == "s" then
  289. ctrl.b = -1
  290. elseif key:lower() == "a" then
  291. ctrl.l = -1
  292. elseif key:lower() == "d" then
  293. ctrl.r = 1
  294.  
  295. end
  296. end)
  297. mouse.KeyUp:connect(function(key)
  298. if key:lower() == "w" then
  299. ctrl.f = 0
  300. elseif key:lower() == "s" then
  301. ctrl.b = 0
  302. elseif key:lower() == "a" then
  303. ctrl.l = 0
  304. elseif key:lower() == "d" then
  305. ctrl.r = 0
  306. end
  307. end)
  308. FlyFunction()
  309. end
  310. end)
  311.  
  312. NoClip.Name = "NoClip"
  313. NoClip.Parent = mainframe
  314. NoClip.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  315. NoClip.Position = UDim2.new(0.102857158, 0, 0.550827384, 0)
  316. NoClip.Size = UDim2.new(0, 70, 0, 50)
  317. NoClip.Font = Enum.Font.GothamBlack
  318. NoClip.Text = "NO CLIP"
  319. NoClip.TextColor3 = Color3.fromRGB(255, 255, 255)
  320. NoClip.TextScaled = true
  321. NoClip.TextSize = 14.000
  322. NoClip.TextWrapped = true
  323. _G.noclip = false
  324. game:GetService('RunService').Stepped:connect(function()
  325. if noclip then
  326. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  327. NoClip.TextColor3 = Color3.fromRGB(85, 255, 127)
  328. end
  329. end)
  330. NoClip.MouseButton1Down:connect(function()
  331. noclip = not noclip
  332. NoClip.TextColor3 = Color3.fromRGB(255, 255, 255)
  333. end)
  334.  
  335. MaxLand.Name = "MaxLand"
  336. MaxLand.Parent = mainframe
  337. MaxLand.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  338. MaxLand.Position = UDim2.new(0.798571467, 0, 0.111111104, 0)
  339. MaxLand.Size = UDim2.new(0, 70, 0, 50)
  340. MaxLand.Font = Enum.Font.GothamBlack
  341. MaxLand.Text = "MAX LAND"
  342. MaxLand.TextColor3 = Color3.fromRGB(255, 255, 255)
  343. MaxLand.TextScaled = true
  344. MaxLand.TextSize = 14.000
  345. MaxLand.TextWrapped = true
  346.  
  347. MaxLand.MouseButton1Down:Connect(function()
  348. for i, v in pairs(game:GetService("Workspace").Properties:GetChildren()) do
  349. if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer then
  350. base = v
  351. square = v.OriginSquare
  352. end
  353. end
  354. function makebase(pos)
  355. local Event = game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty
  356. Event:FireServer(base, pos)
  357. end
  358. spos = square.Position
  359. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z))
  360. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z))
  361. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 40))
  362. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 40))
  363. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 40))
  364. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 40))
  365. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 40))
  366. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 40))
  367. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z))
  368. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z))
  369. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 80))
  370. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 80))
  371. --Corners--
  372. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 80))
  373. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 80))
  374. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 80))
  375. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 80))
  376. --Corners--
  377. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 80))
  378. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 80))
  379. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 40))
  380. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 40))
  381. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 40))
  382. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 40))
  383. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 80))
  384. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 80))
  385.  
  386. end)
  387.  
  388. AllBp.Name = "AllBp"
  389. AllBp.Parent = mainframe
  390. AllBp.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  391. AllBp.Position = UDim2.new(0.242857099, 0, 0.548266351, 0)
  392. AllBp.Size = UDim2.new(0, 70, 0, 50)
  393. AllBp.Font = Enum.Font.GothamBlack
  394. AllBp.Text = "ALL BP's"
  395. AllBp.TextColor3 = Color3.fromRGB(255, 255, 255)
  396. AllBp.TextScaled = true
  397. AllBp.TextSize = 14.000
  398. AllBp.TextWrapped = true
  399. AllBp.MouseButton1Click:Connect(function()
  400. for i,v in pairs(game.ReplicatedStorage.Purchasables.Structures.BlueprintStructures:GetChildren()) do
  401. local clone = v:Clone()
  402. clone.Parent = game.Players.LocalPlayer.PlayerBlueprints.Blueprints
  403. end
  404. end)
  405.  
  406. GoldenAxe.Name = "GoldenAxe"
  407. GoldenAxe.Parent = mainframe
  408. GoldenAxe.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  409. GoldenAxe.Position = UDim2.new(0.658571362, 0, 0.534475923, 0)
  410. GoldenAxe.Size = UDim2.new(0, 70, 0, 50)
  411. GoldenAxe.Font = Enum.Font.GothamBlack
  412. GoldenAxe.Text = "GOLDEN AXE"
  413. GoldenAxe.TextColor3 = Color3.fromRGB(255, 255, 255)
  414. GoldenAxe.TextScaled = true
  415. GoldenAxe.TextSize = 14.000
  416. GoldenAxe.TextWrapped = true
  417.  
  418. spawn(function()
  419. GAxe = false
  420. function GetAxe() --Gets your current axe thats equiped when called
  421. if game.Players.LocalPlayer.Character:FindFirstChild("Tool") then
  422. return game.Players.LocalPlayer.Character.Tool --returns the axe when found
  423. else
  424. return false --returns false when not equiped
  425. end
  426. end
  427.  
  428. function GetDamage(Axe, TreeClass)-- Gets the right Damage of the axe and returns it if called to prevent killing yourself like gold axe
  429. if Axe.ToolTip == "Basic Hatchet" then return 0.2
  430. elseif Axe.ToolTip == "Plain Axe" then return 0.55
  431. elseif Axe.ToolTip == "Steel Axe" then return 0.93
  432. elseif Axe.ToolTip == "Hardened Axe" then return 1.45
  433. elseif Axe.ToolTip == "Silver Axe" then return 1.6
  434. elseif Axe.ToolTip == "Rukiryaxe" then return 1.68
  435. elseif Axe.ToolTip == "Beta Axe of Bosses" then return 1.45
  436. elseif Axe.ToolTip == "Alpha Axe of Testing" then return 1.5
  437. elseif Axe.ToolTip == "Fire Axe" then
  438. if TreeClass ~= "Volcano" then return 0.6 else return 6.35 end
  439. elseif Axe.ToolTip == "End Times Axe" then
  440. if TreeClass ~= "LoneCave" then return 1.58 else return 10000000 end
  441. elseif Axe.ToolTip == "Candy Cane Axe" then return 0
  442. elseif Axe.ToolTip == "Johiro" then return 1.8
  443. elseif Axe.ToolTip == "Beesaxe" then return 1.4
  444. elseif Axe.ToolTip == "CHICKEN AXE" then return 0.9
  445. elseif Axe.ToolTip == "Amber Axe" then return 3.39
  446. elseif Axe.ToolTip == "The Many Axe" then return 10.2
  447. elseif Axe.ToolTip == "Gingerbread Axe" then
  448. if TreeClass == "Walnut" then return 8.5
  449. elseif TreeClass == "Koa" then return 11 else return 1.2 end
  450. elseif Axe.ToolTip == "Bird Axe" then
  451. if TreeClass == "Volcano" then return 2.5 elseif TreeClass == "CaveCrawler" then return 3.9 else return 1.65 end
  452. end
  453. end
  454.  
  455.  
  456. function GCut(TreePart) --Cuts the tree when called with the tree you want to cut
  457. if GetAxe() ~= false then --checks if you have a axe equiped
  458. Damage = GetDamage(GetAxe(), TreePart.Parent.TreeClass.Value) --gets the Damage
  459. Height = TreePart.CFrame:pointToObjectSpace(mouse.Hit.p).Y + TreePart.Size.Y/2 --Gets the Height
  460. local CutArguments = {
  461. sectionId = TreePart.ID.Value,
  462. faceVector = Vector3.new(0,0,-1),
  463. height = Height,
  464. hitPoints = Damage,
  465. cooldown = 0,
  466. cuttingClass = "Axe",
  467. tool = GetAxe()
  468. }
  469. for i=1, 50 do
  470. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(TreePart.Parent.CutEvent, CutArguments)
  471. end
  472. end
  473. end
  474.  
  475. function CutTree(Tree) --Cuts the tree when called with the tree you want to cut
  476. if GetAxe() ~= false then --checks if you have a axe equiped
  477. Damage = GetDamage(GetAxe(), Tree.TreeClass.Value) --gets the Damage
  478. local CutArguments = {
  479. sectionId = 1,
  480. faceVector = Vector3.new(0,0,-1),
  481. height = 0.5,
  482. hitPoints = Damage,
  483. cooldown = 0,
  484. cuttingClass = "Axe",
  485. tool = GetAxe()
  486. }
  487. for i=1, 50 do
  488. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(Tree.CutEvent, CutArguments)
  489. end
  490. end
  491. end
  492.  
  493. TreeList = {} --Creates a table of the trees
  494. for a,b in pairs(workspace:GetChildren()) do
  495. if b.name == "TreeRegion" then
  496. b.ChildAdded:Connect(function(NewTree)--Creates functions that Adds new trees to the list
  497. table.insert(TreeList, NewTree)
  498. end)
  499. for c,d in pairs(b:GetChildren()) do-- Adds the trees when first time starting the script
  500. if d.Name == "Model" then
  501. table.insert(TreeList, d)
  502. end
  503. end
  504. end
  505. end
  506.  
  507. spawn(function() --used spawn so it wont interrupt any of the other things
  508. CutEnabled = false
  509. while wait(.5) do --Main loop to do the stuff
  510. if CutEnabled == true then
  511. if GetAxe() ~= false then --Checks if you have a axe equiped
  512. for a,b in pairs(TreeList) do
  513. if not b:FindFirstChild("RootCut") and b:FindFirstChild("CutEvent") then --Checks if the tree is already cut
  514. distance = (game.Players.LocalPlayer.Character.Head.Position - b.WoodSection.Position).magnitude --gets the distance between player and tree
  515. if distance < 225 then --if distance lower than 225 then it will cut the tree
  516. CutTree(b) --Calls the function with the tree to cut
  517. end
  518. else
  519. table.remove(TreeList, a)--if tree already cut then it gets removed from the list
  520. end
  521. end
  522. end
  523. end
  524. end
  525. end)
  526.  
  527. mouse = game.Players.LocalPlayer:GetMouse() --Gets the Mouse
  528. mouse.Button1Down:connect(function()
  529. if GAxe == true and GetAxe() ~= false then
  530. Target = mouse.Target
  531. GCut(Target)
  532. end
  533. end)
  534. --Credits to Johiro, if you decide to skid atleast give credits
  535. end)
  536. GoldenAxe.MouseButton1Down:connect(function()
  537.  
  538. if GAxe == true then
  539. GAxe = false
  540. GoldenAxe.TextColor3 = Color3.fromRGB(255, 255, 255)
  541. elseif GAxe == false then
  542. GAxe = true
  543. GoldenAxe.TextColor3 = Color3.fromRGB(85, 255, 127)
  544. --Credits to Johiro
  545. end
  546. end)
  547.  
  548. SellWood.Name = "SellWood"
  549. SellWood.Parent = mainframe
  550. SellWood.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  551. SellWood.Position = UDim2.new(0.798571408, 0, 0.5415681, 0)
  552. SellWood.Size = UDim2.new(0, 70, 0, 50)
  553. SellWood.Font = Enum.Font.GothamBlack
  554. SellWood.Text = "SELL WOOD"
  555. SellWood.TextColor3 = Color3.fromRGB(255, 255, 255)
  556. SellWood.TextScaled = true
  557. SellWood.TextSize = 14.000
  558. SellWood.TextWrapped = true
  559. SellWood.MouseButton1Down:connect(function()
  560. for _, Log in pairs(workspace.LogModels:GetChildren()) do
  561. if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
  562. if Log.Owner.Value == game.Players.LocalPlayer then
  563. for i,v in pairs(Log:GetChildren()) do
  564. if v.Name=="WoodSection" then
  565. spawn(function()
  566. for i=1,10 do
  567. wait()
  568. v.CFrame=CFrame.new(Vector3.new(315, -0.296, 85.791))*CFrame.Angles(math.rad(90),0,0)
  569. end
  570. end)
  571. end
  572. end
  573. spawn(function()
  574. for i=1,20 do
  575. wait()
  576. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
  577. end
  578. end)
  579. end
  580. end
  581. end
  582. end)
  583.  
  584.  
  585. localvb.Name = "localvb"
  586. localvb.Parent = mainframe
  587. localvb.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  588. localvb.BackgroundTransparency = 1.000
  589. localvb.Position = UDim2.new(0.29285714, 0, 0.106382981, 0)
  590. localvb.Size = UDim2.new(0, 290, 0, 50)
  591. localvb.Font = Enum.Font.GothamBlack
  592. localvb.Text = "LOCAL SCRIPTS"
  593. localvb.TextColor3 = Color3.fromRGB(239, 50, 77)
  594. localvb.TextScaled = true
  595. localvb.TextSize = 14.000
  596. localvb.TextWrapped = true
  597.  
  598. backfrommainframetomain.Name = "backfrommainframetomain"
  599. backfrommainframetomain.Parent = mainframe
  600. backfrommainframetomain.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  601. backfrommainframetomain.Position = UDim2.new(0.45714286, 0, 0.553191483, 0)
  602. backfrommainframetomain.Size = UDim2.new(0, 60, 0, 50)
  603. backfrommainframetomain.Font = Enum.Font.GothamBlack
  604. backfrommainframetomain.Text = "BACK"
  605. backfrommainframetomain.TextColor3 = Color3.fromRGB(255, 255, 255)
  606. backfrommainframetomain.TextScaled = true
  607. backfrommainframetomain.TextSize = 14.000
  608. backfrommainframetomain.TextWrapped = true
  609. backfrommainframetomain.MouseButton1Down:connect(function()
  610. mainframe.Visible = false
  611. end)
  612.  
  613. guimain.Name = "guimain"
  614. guimain.Parent = ScreenGui
  615. guimain.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  616. guimain.BorderColor3 = Color3.fromRGB(239, 50, 77)
  617. guimain.Position = UDim2.new(0.276109397, 0, 0.494145155, 0)
  618. guimain.Size = UDim2.new(0, 700, 0, 141)
  619. guimain.Visible = false
  620. main.Draggable = true
  621.  
  622. LumberJoke.Name = "Lumber Joke"
  623. LumberJoke.Parent = guimain
  624. LumberJoke.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  625. LumberJoke.Position = UDim2.new(0.102857143, 0, 0.0992908031, 0)
  626. LumberJoke.Size = UDim2.new(0, 70, 0, 50)
  627. LumberJoke.Font = Enum.Font.GothamBlack
  628. LumberJoke.Text = "LUMBER JOKE GUI"
  629. LumberJoke.TextColor3 = Color3.fromRGB(255, 255, 255)
  630. LumberJoke.TextScaled = true
  631. LumberJoke.TextSize = 14.000
  632. LumberJoke.TextWrapped = true
  633. LumberJoke.MouseButton1Down:connect(function()
  634. loadstring(game:HttpGet("https://pastebin.com/raw/PdKzxqvn", true))()
  635. end)
  636.  
  637. Money.Name = "Money"
  638. Money.Parent = guimain
  639. Money.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  640. Money.Position = UDim2.new(0.102857143, 0, 0.553191543, 0)
  641. Money.Size = UDim2.new(0, 70, 0, 50)
  642. Money.Font = Enum.Font.GothamBlack
  643. Money.Text = "MONEY / ITEM DUPE"
  644. Money.TextColor3 = Color3.fromRGB(255, 255, 255)
  645. Money.TextScaled = true
  646. Money.TextSize = 14.000
  647. Money.TextWrapped = true
  648. Money.MouseButton1Down:connect(function()
  649. loadstring(game:HttpGet("https://pastebin.com/raw/XwLSKeAc", true))()
  650. end)
  651.  
  652. Shiros.Name = "Shiros"
  653. Shiros.Parent = guimain
  654. Shiros.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  655. Shiros.Position = UDim2.new(0.798571467, 0, 0.0992908031, 0)
  656. Shiros.Size = UDim2.new(0, 70, 0, 50)
  657. Shiros.Font = Enum.Font.GothamBlack
  658. Shiros.Text = "SHIROS GUI"
  659. Shiros.TextColor3 = Color3.fromRGB(255, 255, 255)
  660. Shiros.TextScaled = true
  661. Shiros.TextSize = 14.000
  662. Shiros.TextWrapped = true
  663. Shiros.MouseButton1Down:connect(function()
  664. loadstring(game:HttpGet("https://pastebin.com/raw/NVNMtLTZ", true))()
  665. end)
  666.  
  667. BaseSpawn.Name = "BaseSpawn"
  668. BaseSpawn.Parent = guimain
  669. BaseSpawn.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  670. BaseSpawn.Position = UDim2.new(0.798571467, 0, 0.553191543, 0)
  671. BaseSpawn.Size = UDim2.new(0, 70, 0, 50)
  672. BaseSpawn.Font = Enum.Font.GothamBlack
  673. BaseSpawn.Text = "BASE SPAWN GUI"
  674. BaseSpawn.TextColor3 = Color3.fromRGB(255, 255, 255)
  675. BaseSpawn.TextScaled = true
  676. BaseSpawn.TextSize = 14.000
  677. BaseSpawn.TextWrapped = true
  678. BaseSpawn.MouseButton1Down:connect(function()
  679. loadstring(game:HttpGet("https://pastebin.com/raw/dUPk6dmx", true))()
  680. end)
  681.  
  682. TextLabel.Parent = guimain
  683. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  684. TextLabel.BackgroundTransparency = 1.000
  685. TextLabel.Position = UDim2.new(0.248571441, 0, 0.0992907807, 0)
  686. TextLabel.Size = UDim2.new(0, 351, 0, 43)
  687. TextLabel.Font = Enum.Font.GothamBlack
  688. TextLabel.Text = "OP GUI HUB"
  689. TextLabel.TextColor3 = Color3.fromRGB(239, 50, 77)
  690. TextLabel.TextScaled = true
  691. TextLabel.TextSize = 14.000
  692. TextLabel.TextWrapped = true
  693.  
  694. backtomainfromguimain.Name = "backtomainfromguimain"
  695. backtomainfromguimain.Parent = guimain
  696. backtomainfromguimain.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  697. backtomainfromguimain.Position = UDim2.new(0.45714286, 0, 0.553191423, 0)
  698. backtomainfromguimain.Size = UDim2.new(0, 60, 0, 50)
  699. backtomainfromguimain.Font = Enum.Font.GothamBlack
  700. backtomainfromguimain.Text = "BACK"
  701. backtomainfromguimain.TextColor3 = Color3.fromRGB(255, 255, 255)
  702. backtomainfromguimain.TextScaled = true
  703. backtomainfromguimain.TextSize = 14.000
  704. backtomainfromguimain.TextWrapped = true
  705. backtomainfromguimain.MouseButton1Down:connect(function()
  706. guimain.Visible = false
  707. end)
  708.  
  709. credits.Name = "credits"
  710. credits.Parent = ScreenGui
  711. credits.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  712. credits.BorderColor3 = Color3.fromRGB(239, 50, 77)
  713. credits.Position = UDim2.new(0.275661141, 0, 0.689695537, 0)
  714. credits.Size = UDim2.new(0, 700, 0, 144)
  715. credits.Visible = false
  716. main.Draggable = true
  717.  
  718. TextLabel_2.Parent = credits
  719. TextLabel_2.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  720. TextLabel_2.BackgroundTransparency = 1.000
  721. TextLabel_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  722. TextLabel_2.Position = UDim2.new(0.0114285946, 0, 0.0555555522, 0)
  723. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  724. TextLabel_2.Font = Enum.Font.GothamBlack
  725. TextLabel_2.Text = "CREDITS"
  726. TextLabel_2.TextColor3 = Color3.fromRGB(239, 50, 77)
  727. TextLabel_2.TextScaled = true
  728. TextLabel_2.TextSize = 14.000
  729. TextLabel_2.TextWrapped = true
  730.  
  731. TextLabel_3.Parent = credits
  732. TextLabel_3.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  733. TextLabel_3.BackgroundTransparency = 1.000
  734. TextLabel_3.BorderColor3 = Color3.fromRGB(27, 42, 53)
  735. TextLabel_3.Position = UDim2.new(0.0114285946, 0, 0.5625, 0)
  736. TextLabel_3.Size = UDim2.new(0, 200, 0, 50)
  737. TextLabel_3.Font = Enum.Font.GothamBlack
  738. TextLabel_3.Text = "Made by Vein HUB YT"
  739. TextLabel_3.TextColor3 = Color3.fromRGB(239, 50, 77)
  740. TextLabel_3.TextScaled = true
  741. TextLabel_3.TextSize = 14.000
  742. TextLabel_3.TextWrapped = true
  743.  
  744. TextLabel_4.Parent = credits
  745. TextLabel_4.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  746. TextLabel_4.BackgroundTransparency = 1.000
  747. TextLabel_4.BorderColor3 = Color3.fromRGB(27, 42, 53)
  748. TextLabel_4.Position = UDim2.new(0.708571434, 0, 0.055555556, 0)
  749. TextLabel_4.Size = UDim2.new(0, 198, 0, 50)
  750. TextLabel_4.Font = Enum.Font.GothamBlack
  751. TextLabel_4.Text = "CHANGE LOG"
  752. TextLabel_4.TextColor3 = Color3.fromRGB(239, 50, 77)
  753. TextLabel_4.TextScaled = true
  754. TextLabel_4.TextSize = 14.000
  755. TextLabel_4.TextWrapped = true
  756.  
  757. TextLabel_5.Parent = credits
  758. TextLabel_5.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  759. TextLabel_5.BackgroundTransparency = 1.000
  760. TextLabel_5.BorderColor3 = Color3.fromRGB(27, 42, 53)
  761. TextLabel_5.Position = UDim2.new(0.708571434, 0, 0.5625, 0)
  762. TextLabel_5.Size = UDim2.new(0, 200, 0, 50)
  763. TextLabel_5.Font = Enum.Font.GothamBlack
  764. TextLabel_5.Text = "- nothing its version 1 what did you expect?"
  765. TextLabel_5.TextColor3 = Color3.fromRGB(239, 50, 77)
  766. TextLabel_5.TextScaled = true
  767. TextLabel_5.TextSize = 14.000
  768. TextLabel_5.TextWrapped = true
  769.  
  770. backtomainfromcredits.Name = "backtomainfromcredits"
  771. backtomainfromcredits.Parent = credits
  772. backtomainfromcredits.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  773. backtomainfromcredits.Position = UDim2.new(0.45714286, 0, 0.5625, 0)
  774. backtomainfromcredits.Size = UDim2.new(0, 60, 0, 50)
  775. backtomainfromcredits.Font = Enum.Font.GothamBlack
  776. backtomainfromcredits.Text = "BACK"
  777. backtomainfromcredits.TextColor3 = Color3.fromRGB(255, 255, 255)
  778. backtomainfromcredits.TextScaled = true
  779. backtomainfromcredits.TextSize = 14.000
  780. backtomainfromcredits.TextWrapped = true
  781. backtomainfromcredits.MouseButton1Down:connect(function()
  782. credits.Visible = false
  783. end)
  784.  
  785. TextLabel_6.Parent = credits
  786. TextLabel_6.BackgroundColor3 = Color3.fromRGB(239, 50, 77)
  787. TextLabel_6.BackgroundTransparency = 1.000
  788. TextLabel_6.BorderColor3 = Color3.fromRGB(27, 42, 53)
  789. TextLabel_6.Position = UDim2.new(0.35857144, 0, 0.0555555522, 0)
  790. TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
  791. TextLabel_6.Font = Enum.Font.GothamBlack
  792. TextLabel_6.Text = "INFO"
  793. TextLabel_6.TextColor3 = Color3.fromRGB(239, 50, 77)
  794. TextLabel_6.TextScaled = true
  795. TextLabel_6.TextSize = 14.000
  796. TextLabel_6.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement