The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Timber! GUI script pastebin roblox
By LINK GAME on 2024-09-20 08:00 am | Syntax: LUA | Views: 11



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Timber")
  3. local b = w:CreateFolder("AutoFarm")
  4. local f = w:CreateFolder("AutoBuy")
  5. local e = w:CreateFolder("Mix")
  6. local u = w:CreateFolder("Credits")
  7.  
  8. b:Toggle("AutoTree",function(bool)
  9.     shared.toggle = bool
  10.     AutoTree = bool
  11. end)
  12.  
  13. b:Toggle("AutoSell",function(bool)
  14.     shared.toggle = bool
  15.     AutoSell = bool
  16. end)
  17.  
  18. f:Toggle("Place",function(bool)
  19.     shared.toggle = bool
  20.     Place = bool
  21. end)
  22.  
  23. f:Toggle("Upgrades",function(bool)
  24.     shared.toggle = bool
  25.     Upgrades = bool
  26. end)
  27.  
  28. e:Toggle("AntiAfk",function(bool)
  29.     shared.toggle = bool
  30.     AntiAfk = bool
  31. end)
  32.  
  33. --Credits
  34. u:Button("maxgat5#8395",function()
  35.     setclipboard("maxgat5#8395")
  36. end)
  37.  
  38. u:Button("Discord Server",function()
  39.     setclipboard("https://discord.gg/K4txdRSVfq")
  40. end)
  41.  
  42. while wait() do
  43.     spawn(function()
  44.         if AutoTree == true then
  45.             pcall(function()
  46.                 for i,v in pairs(game:GetService("Workspace").Plots:GetDescendants()) do
  47.                     if v.Name == "Owner" then
  48.                         if v.Value == game.Players.LocalPlayer then
  49.                             for i,v1 in pairs(v.Parent:GetDescendants()) do
  50.                                 if string.find(v1.Name,"Tree_1") then
  51.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.MeshPart.CFrame.Position + Vector3.new(0,0,0))
  52.                                     game:GetService("ReplicatedStorage").Communication.Remotes.HitTree:FireServer(tonumber(v.Parent.Name),tostring(v1.Parent.Name),tonumber(1))
  53.                                 end
  54.                                 if string.find(v1.Name,"Tree_2") then
  55.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.MeshPart.CFrame.Position + Vector3.new(0,0,0))
  56.                                     game:GetService("ReplicatedStorage").Communication.Remotes.HitTree:FireServer(tonumber(v.Parent.Name),tostring(v1.Parent.Name),tonumber(2))
  57.                                 end
  58.                                 if string.find(v1.Name,"Tree_3") then
  59.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.MeshPart.CFrame.Position + Vector3.new(0,0,0))
  60.                                     game:GetService("ReplicatedStorage").Communication.Remotes.HitTree:FireServer(tonumber(v.Parent.Name),tostring(v1.Parent.Name),tonumber(3))
  61.                                 end
  62.                             end
  63.                         end
  64.                     end
  65.                 end
  66.             end)
  67.         end
  68.     end)
  69.    
  70.     if AutoSell == true then
  71.         for i,v in pairs(game:GetService("Workspace").Plots:GetDescendants()) do
  72.             if v.Name == "Owner" then
  73.                 if v.Value == game.Players.LocalPlayer then
  74.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Parent["0_0"].Sell.CFrame.Position + Vector3.new(0,0,0))
  75.                 end
  76.             end
  77.         end
  78.     end
  79.    
  80.     spawn(function()
  81.         if Place == true then
  82.             for i,v in pairs(game:GetService("Workspace").Promps.Expansion:GetChildren()) do
  83.                 v.CanCollide = false
  84.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,100)
  85.                 wait()
  86.                 v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,0)
  87.             end
  88.         end
  89.     end)
  90.    
  91.     spawn(function()
  92.         if Upgrades == true then
  93.             for i,v in pairs(game:GetService("Players").LocalPlayer.datastats:GetChildren()) do
  94.                 game:GetService("ReplicatedStorage").Communication.Remotes.Upgrade:FireServer(v.Name)
  95.             end
  96.         end
  97.     end)
  98.    
  99.     spawn(function()
  100.         if AntiAfk == true then
  101.             local bb=game:service'VirtualUser'
  102.             bb:CaptureController()
  103.             bb:ClickButton2(Vector2.new())
  104.         end
  105.     end)
  106. end