Advertisement
trixade

Untitled

Oct 9th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.21 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Gold Rush")
  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("AutoTpGold",function(bool)
  9.     shared.toggle = bool
  10.     AutoTpGold = bool
  11. end)
  12.  
  13. f:Toggle("Space",function(bool)
  14.     shared.toggle = bool
  15.     Space = bool
  16. end)
  17.  
  18. f:Toggle("Crystals",function(bool)
  19.     shared.toggle = bool
  20.     Crystals = bool
  21. end)
  22.  
  23. f:Toggle("Boost",function(bool)
  24.     shared.toggle = bool
  25.     Boost = bool
  26. end)
  27.  
  28. f:Toggle("Gloves",function(bool)
  29.     shared.toggle = bool
  30.     Gloves = bool
  31. end)
  32.  
  33. f:Toggle("Paycheck",function(bool)
  34.     shared.toggle = bool
  35.     Paycheck = bool
  36. end)
  37.  
  38. f:Toggle("Speedy",function(bool)
  39.     shared.toggle = bool
  40.     Speedy = bool
  41. end)
  42.  
  43. f:Toggle("Drill",function(bool)
  44.     shared.toggle = bool
  45.     Drill = bool
  46. end)
  47.  
  48. f:Toggle("Rebirth",function(bool)
  49.     shared.toggle = bool
  50.     Rebirth = bool
  51. end)
  52.  
  53. e:Toggle("AntiAfk",function(boosl)
  54.     shared.toggle = bool
  55.     AntiAfk = bool
  56. end)
  57.  
  58. --Credits
  59. u:Button("maxgat5#8395",function()
  60.     setclipboard("maxgat5#8395")
  61. end)
  62.  
  63. u:Button("Discord Server",function()
  64.     setclipboard("https://discord.gg/K4txdRSVfq")
  65. end)
  66.  
  67.  
  68. function AutoTpGold1()
  69.     for i,v in pairs(game:GetService("Workspace").Islands:GetDescendants()) do
  70.         if v.ClassName == "TextLabel" then
  71.             if v.Text == game.Players.LocalPlayer.Name.."'s\nIsland" then
  72.                 for i,v1 in pairs(v.Parent.Parent.Parent.Parent:GetDescendants()) do
  73.                     if v1.ClassName == "TouchTransmitter" then
  74.                         if string.find(v1.Parent.Parent.Name,"Rock") then
  75.                             for i,v2 in pairs(v1.Parent.Parent:GetChildren()) do
  76.                                 if v2.ClassName == "MeshPart" then
  77.                                     if string.find(v2.Name,"Gold") then
  78.                                         if v2.Transparency == 0 then
  79.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v2.CFrame.Position + Vector3.new(0,0,0))
  80.                                         end
  81.                                     end
  82.                                 end
  83.                             end
  84.                         end
  85.                     end
  86.                 end
  87.             end
  88.         end
  89.     end
  90. end
  91.  
  92. function Space1()
  93.     for i,v in pairs(game:GetService("Workspace").Islands:GetDescendants()) do
  94.         if v.ClassName == "TextLabel" then
  95.             if v.Text == game.Players.LocalPlayer.Name.."'s\nIsland" then
  96.                 for i,v1 in pairs(v.Parent.Parent.Parent.Parent:GetDescendants()) do
  97.                     if v1.ClassName == "TouchTransmitter" then
  98.                         if string.find(v1.Parent.Parent.Name,"Purchase") then
  99.                             if string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  100.                                 local Cash1 = {}
  101.                                 Cash1[1] = game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text
  102.                                 Cash = string.gsub(Cash1[1],",","")
  103.                                 local Amount1 = {}
  104.                                 if string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  105.                                     Amount1[1] = v1.Parent.Parent.Text.BillboardGui.Amount.Text
  106.                                     Amount = string.gsub(Amount1[1],",","")
  107.                                     if tonumber(Amount) <= tonumber(Cash) then
  108.                                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  109.                                     end
  110.                                 end
  111.                             end
  112.                            
  113.                             if string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  114.                                 local Cash1 = {}
  115.                                 Cash1[1] = game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text
  116.                                 Cash = string.gsub(Cash1[1],",","")
  117.                                 if not string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  118.                                     if tonumber(v1.Parent.Parent.Text.BillboardGui.Amount.Text) <= tonumber(Cash) then
  119.                                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  120.                                     end
  121.                                 end
  122.                             end
  123.                            
  124.                             if not string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  125.                                 if not string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  126.                                     if tonumber(v1.Parent.Parent.Text.BillboardGui.Amount.Text) <= tonumber(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text) then
  127.                                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  128.                                     end
  129.                                 end
  130.                             end
  131.                         end
  132.                     end
  133.                 end
  134.             end
  135.         end
  136.     end
  137. end
  138.  
  139. function Crystals1()
  140.     for i,v in pairs(game:GetService("Workspace").Islands:GetDescendants()) do
  141.         if v.ClassName == "TextLabel" then
  142.             if v.Text == game.Players.LocalPlayer.Name.."'s\nIsland" then
  143.                 for i,v1 in pairs(v.Parent.Parent.Parent.Parent:GetDescendants()) do
  144.                     if v1.ClassName == "ProximityPrompt" then
  145.                         if string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  146.                             local Cash1 = {}
  147.                             Cash1[1] = game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text
  148.                             Cash = string.gsub(Cash1[1],",","")
  149.                             local Amount1 = {}
  150.                             if string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  151.                                 Amount1[1] = v1.Parent.Parent.Text.BillboardGui.Amount.Text
  152.                                 local Amount = string.gsub(Amount1[1],",","")
  153.                                 if tonumber(Amount) <= tonumber(Cash) then
  154.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  155.                                     wait(.1)
  156.                                     fireproximityprompt(v1,0)
  157.                                     wait(.1)
  158.                                     fireproximityprompt(v1,1)
  159.                                     wait(.1)
  160.                                 end
  161.                             end
  162.                         end
  163.                        
  164.                         if string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  165.                             local Cash1 = {}
  166.                             Cash1[1] = game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text
  167.                             Cash = string.gsub(Cash1[1],",","")
  168.                             if not string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  169.                                 if tonumber(v1.Parent.Parent.Text.BillboardGui.Amount.Text) <= tonumber(Cash) then
  170.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  171.                                     wait(.1)
  172.                                     fireproximityprompt(v1,0)
  173.                                     wait(.1)
  174.                                     fireproximityprompt(v1,1)
  175.                                     wait(.1)
  176.                                 end
  177.                             end
  178.                         end
  179.                        
  180.                         if not string.find(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text,",") then
  181.                             if not string.find(v1.Parent.Parent.Text.BillboardGui.Amount.Text,",") then
  182.                                 if tonumber(v1.Parent.Parent.Text.BillboardGui.Amount.Text) <= tonumber(game:GetService("Players").LocalPlayer.PlayerGui.Client.Gold.Gold.Number.GoldAmount.Text) then
  183.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v1.Parent.CFrame.Position + Vector3.new(0,0,0))
  184.                                     wait(.1)
  185.                                     fireproximityprompt(v1,0)
  186.                                     wait(.1)
  187.                                     fireproximityprompt(v1,1)
  188.                                     wait(.1)
  189.                                 end
  190.                             end
  191.                         end
  192.                     end
  193.                 end
  194.             end
  195.         end
  196.     end
  197. end
  198.  
  199. while wait() do
  200.     spawn(function()
  201.         if AutoTpGold == true then
  202.             AutoTpGold1()
  203.         end
  204.     end)
  205.    
  206.     spawn(function()
  207.         if Space == true then
  208.             Space1()
  209.         end
  210.     end)
  211.    
  212.     spawn(function()
  213.         if Crystals == true then
  214.             Crystals1()
  215.         end
  216.     end)
  217.    
  218.     spawn(function()
  219.         if Boost == true then
  220.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Boost")
  221.         end
  222.     end)
  223.    
  224.     spawn(function()
  225.         if Gloves == true then
  226.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Gloves")
  227.         end
  228.     end)
  229.    
  230.     spawn(function()
  231.         if Paycheck == true then
  232.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Paycheck")
  233.         end
  234.     end)
  235.    
  236.     spawn(function()
  237.         if Speedy == true then
  238.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Speedy")
  239.         end
  240.     end)
  241.    
  242.     spawn(function()
  243.         if Drill == true then
  244.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Drill")
  245.         end
  246.     end)
  247.    
  248.     spawn(function()
  249.         if Rebirth == true then
  250.             game:GetService("ReplicatedStorage").Remotes.Server_Event:FireServer("PurchasePerk","Rebirth")
  251.         end
  252.     end)
  253.    
  254.     spawn(function()
  255.         if AntiAfk == true then
  256.             local bb=game:service'VirtualUser'
  257.             bb:CaptureController()
  258.             bb:ClickButton2(Vector2.new())
  259.         end
  260.     end)
  261. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement