TEXT 550
Space Tycoon Script By venuslock on 20th January 2023 01:20:52 PM
  1. --[Instructions]--
  2.     --[Alien Gem Farm]--
  3.         -- Get a sword {Normal Sword, Blue Sword, Lightsaber}, I recommned the lightsaber and stand still anywhere. Once the script is executed it'll TP aliens to you, kill them, and collect the gems.
  4.     --[Auto Collect Money]
  5.         -- Since i'm a lazy fuck you'll have to get the paths to your collectors on your own. Just replace "FirstTycoon" or whatever it is with whatever tycoon your in, same with for other planets.
  6.     --[Game Link : https://www.roblox.com/games/7535149098/Space-Tycoon-Belt]
  7. --[ENJOY!]--
  8.  
  9. --[Anti-Afk]--
  10. local vu = game:GetService("VirtualUser")
  11. game:GetService("Players").LocalPlayer.Idled:connect(
  12.     function()
  13.         vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  14.         wait(1)
  15.         vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  16.     end
  17. )
  18. --[Config]--
  19. getgenv().Config = {
  20.     HiddenGemFarm = true,
  21.     AutoCollectMoney = true,
  22.     ObbyMoneyFarm = false,
  23.     ObbyOptions =
  24.     {
  25.         Easy = false,
  26.         Medium = false,
  27.         Hard = false,
  28.         Extreme = false
  29.     },
  30.     AutoClaimFlags = false,
  31.     AlienFarm = false,
  32.     AlienFarmOptions =
  33.     {
  34.         MarsAliens = false,
  35.         UranusAliens = false,
  36.         NeptuneAliens = false
  37.     }
  38. }
  39. --[Main Source]--
  40. spawn(
  41.     function()
  42.         while getgenv().Config.HiddenGemFarm == true and task.wait() do
  43.             for _, v in pairs(game:GetService("Workspace").HiddenStuff.TitanThing.Gems:GetChildren()) do
  44.                 if v.Name == "Gem" then
  45.                     v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  46.                 end
  47.             end
  48.         end
  49.     end
  50. )
  51. spawn(
  52.     function()
  53.         while getgenv().Config.AutoCollectMoney == true and task.wait(5) do
  54.             print("Collecting Money...")
  55.             for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  56.                 if string.match(v.Name, "Tycoon") then
  57.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  58.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.DropperOne.Conveyer.CashColloector.Collector.TakeMoney, 1)
  59.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.DropperOne.Conveyer.CashColloector.Collector.TakeMoney, 0)
  60.                     end
  61.                 end
  62.                 if string.match(v.Name, "MarsColony") then
  63.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  64.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 1)
  65.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 0)
  66.                     end
  67.                 end
  68.                 if string.match(v.Name, "VenusColony") then
  69.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  70.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 1)
  71.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 0)
  72.                     end
  73.                 end
  74.                 if string.match(v.Name, "TitanColony") then
  75.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  76.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 1)
  77.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 0)
  78.                     end
  79.                 end
  80.                 if string.match(v.Name, "JupiterColony") then
  81.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  82.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 1)
  83.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 0)
  84.                     end
  85.                 end
  86.                 if string.match(v.Name, "NeptuneColony") then
  87.                     if v.OwnerName.Value == game.Players.LocalPlayer.Name then
  88.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 1)
  89.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Conveyer.CashColloector.Collector.TakeMoney, 0)
  90.                     end
  91.                 end
  92.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Iss.Collector.CashColloector.Collector.TakeMoney, 1)
  93.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Iss.Collector.CashColloector.Collector.TakeMoney, 0)
  94.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").PlutoCastlte.Collector.CashColloector.Collector.TakeMoney, 0)
  95.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").PlutoCastlte.Collector.CashColloector.Collector.TakeMoney, 0)
  96.         end
  97.     end
  98. end)
  99. spawn(function ()
  100.     while getgenv().ObbyMoneyFarm == true and task.wait() do
  101.         while getgenv().ObbyMoneyFarm.Easy == true do
  102.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Easy.Finish, 1)
  103.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Easy.Finish, 0)
  104.         end
  105.         while getgenv().ObbyMoneyFarm.Medium == true do
  106.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Medium.Finish, 1)
  107.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Medium.Finish, 0)
  108.         end
  109.         while getgenv().ObbyMoneyFarm.Hard == true do
  110.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Hard.Finish, 1)
  111.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.Obbies.Hard.Finish, 0)
  112.         end
  113.         while getgenv().ObbyMoneyFarm.Extreme == true do
  114.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.JupiterObby.Finish, 1)
  115.             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Center.JupiterObby.Finish, 0)
  116.         end
  117.     end
  118. end)
  119. spawn(function ()
  120.     while getgenv().AutoClaimFlags == true do
  121.         for i,v in pairs(game:GetService("Workspace").Flags:GetChildren()) do
  122.             if v:IsA("Model") then
  123.                 for i2,v2 in pairs(v:GetChildren()) do
  124.                     if v2.CapturerV.Value == game.Players.LocalPlayer then
  125.                         return
  126.                     else
  127.                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v2.CapturingBill.CFrame
  128.                     end
  129.                 end
  130.             end
  131.         end
  132.     end
  133. end)
  134. spawn(
  135.     function()
  136.         while getgenv().Config.AlienFarm == true do
  137.             for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  138.                 if v.Name == "AlienGem" then
  139.                     v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  140.                 end
  141.             end
  142.             while getgenv().Config.AlienFarmOptions.MarsAliens == true and task.wait() do
  143.                 for i, v in pairs(game:GetService("Workspace").Planets.Mars:GetChildren()) do
  144.                     if v.Name == "Bot" then
  145.                         v.Bot.RealBot.HumanoidRootPart.CFrame =
  146.                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
  147.                         mouse1click()
  148.                     end
  149.                 end
  150.             end
  151.             while getgenv().Config.AlienFarmOptions.UranusAliens == true and task.wait() do
  152.                 for i, v in pairs(game:GetService("Workspace").Planets.Uranus:GetChildren()) do
  153.                     if v.Name == "Bot" then
  154.                         v.Bot.RealBot.HumanoidRootPart.CFrame =
  155.                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
  156.                         mouse1click()
  157.                     end
  158.                 end
  159.             end
  160.             while getgenv().Config.AlienFarmOptions.NeptuneAliens == true and task.wait() do
  161.                 for i, v in pairs(game:GetService("Workspace").Planets.Neptune:GetChildren()) do
  162.                     if v.Name == "Bot" then
  163.                         v.Bot.RealBot.HumanoidRootPart.CFrame =
  164.                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
  165.                         mouse1click()
  166.                     end
  167.                 end
  168.             end
  169.         end
  170.     end
  171. )

Texbin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.