Advertisement
gamersamyes

feed the noob tycoon AUTO FARM GUI+ (any executer)

Jul 12th, 2023 (edited)
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.05 KB | None | 0 0
  1. getgenv().autoCollectEnabled = true
  2. getgenv().autoSellEnabled = true
  3. getgenv().autoBuyEnabled = true
  4. getgenv().infiniteJumpEnabled = true
  5. getgenv().clickTpEnabled = true
  6. getgenv().autoObbyEnabled = true
  7.  
  8. -------- Config -------------------
  9.  
  10. local function destroyIfExists(obj)
  11.     if obj then
  12.         obj:Destroy()
  13.     end
  14. end
  15.  
  16. function teleportLocalPlayer(input)
  17.     local Player = game.Players.LocalPlayer
  18.     local Mouse = Player:GetMouse()
  19.     local UIS = game:GetService("UserInputService")
  20.     if clickTpEnabled and input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  21.        local Char = Player.Character
  22.        if Char then
  23.           Char:MoveTo(Mouse.Hit.p)
  24.        end
  25.     end
  26.  end
  27.  
  28. function walkSpeed(speed)
  29.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
  30. end
  31.  
  32. function teleportTo(player)    
  33.     local localPlayer = game.Players.LocalPlayer
  34.     localPlayer.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame  
  35.     wait()        
  36. end
  37.  
  38. function infiniteJump()
  39.     task.spawn(function()
  40.         local character = game.Players.LocalPlayer.Character
  41.         local humanoid = character:FindFirstChild("Humanoid")
  42.         while true do
  43.             if not infiniteJumpEnabled then break end
  44.             if humanoid.Jump and humanoid.FloorMaterial == Enum.Material.Air then
  45.                 humanoid.JumpPower = 50
  46.                 humanoid:ChangeState("Jumping")
  47.             end
  48.             wait()
  49.         end
  50.     end)
  51. end
  52.  
  53. function getTycoonIndex()
  54.     for tycoonIndex = 1, 8 do
  55.         if tostring(game:GetService("Workspace").Tycoons[tycoonIndex].TycoonInfo.Owner.Value) == game.Players.LocalPlayer.Name then
  56.             return tycoonIndex
  57.         end
  58.     end
  59. end
  60.  
  61. function autoCollect()
  62.     spawn(function()
  63.         local tycoonIndex = getTycoonIndex()
  64.         if not tycoonIndex then return end
  65.         while wait() do
  66.             if not autoCollectEnabled then break end
  67.             for i, item in pairs(game:GetService("Workspace").Tycoons[tycoonIndex].ItemDebris:GetChildren()) do
  68.                 local args = {[1] = item}
  69.                 game:GetService("ReplicatedStorage").RF.CollectItem:InvokeServer(unpack(args))
  70.             end
  71.         end
  72.     end)
  73. end
  74.  
  75. function autoBuy()
  76.     spawn(function()
  77.         while wait(0.5) do
  78.             if not autoBuyEnabled then break end
  79.             local tycoonIndex = getTycoonIndex()
  80.             if not tycoonIndex then return end
  81.             local character = game.Players.LocalPlayer.Character
  82.             local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  83.  
  84.             local dropperButtons = game:GetService("Workspace").Tycoons[tycoonIndex].DropperButtons
  85.             local children = dropperButtons:GetChildren()
  86.             for i = #children, 1, -1 do
  87.                 local dropperButton = children[i]
  88.                 firetouchinterest(humanoidRootPart, dropperButton.Main, 0)
  89.                 firetouchinterest(humanoidRootPart, dropperButton.Main, 1)
  90.             end
  91.             local speedUpgrades = game:GetService("Workspace").Tycoons[tycoonIndex].SpeedUpgrades
  92.             local children = speedUpgrades:GetChildren()
  93.             for i = #children, 1, -1 do
  94.                 local dropperButton = children[i]
  95.                 firetouchinterest(humanoidRootPart, dropperButton.Main, 0)
  96.                 firetouchinterest(humanoidRootPart, dropperButton.Main, 1)
  97.             end
  98.         end
  99.     end)
  100. end
  101.  
  102. function autoSell()
  103.     spawn(function()
  104.         game:GetService("ReplicatedStorage").RF.EssentialFunction:InvokeServer("SettingsChange", {"Sound Effects"})
  105.         local character = game.Players.LocalPlayer.Character
  106.         local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  107.         while wait(0.5) do
  108.             if not autoSellEnabled then break end
  109.             local tycoonIndex = getTycoonIndex()
  110.             for i,v in pairs(game:GetService("Workspace").Tycoons[tycoonIndex].SellPad:GetChildren()) do
  111.                 firetouchinterest(humanoidRootPart,  v, 0)
  112.                 firetouchinterest(humanoidRootPart,  v, 1)
  113.             end
  114.         end
  115.     end)
  116. end
  117.  
  118. function autoObby()
  119.     spawn(function()
  120.         while wait(0.5) do
  121.             if not autoObbyEnabled then break end
  122.             local character = game.Players.LocalPlayer.Character
  123.             local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  124.             local obbyRewardButtons = game:GetService("Workspace").ObbyRewardButtons
  125.             for i, rewardButton in pairs(obbyRewardButtons:GetChildren()) do
  126.                 firetouchinterest(humanoidRootPart, rewardButton, 0)
  127.                 firetouchinterest(humanoidRootPart, rewardButton, 1)
  128.             end
  129.         end
  130.     end)
  131. end
  132.  
  133. ----------- Functions ------------------
  134.  
  135. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  136. local Window = OrionLib:MakeWindow({Name = "Feed The Noob Tycoon Exploit By Balgo", HidePremium = false, SaveConfig = true, ConfigFolder = "SpeedRunSimulator", IntroText = "Balgo Security"})
  137.  
  138. local Auto = Window:MakeTab({
  139.     Name = "Auto",
  140.     Icon = "rbxassetid://259820115",
  141.     PremiumOnly = false
  142. })
  143.  
  144.  
  145. Auto:AddToggle({
  146.     Name = "Auto Collect",
  147.     Callback = function(value)
  148.         autoCollectEnabled = value
  149.         autoCollect()
  150.     end    
  151. })
  152.  
  153. Auto:AddToggle({
  154.     Name = "Auto Sell",
  155.     Callback = function(value)
  156.         autoSellEnabled = value
  157.         autoSell()
  158.     end    
  159. })
  160.  
  161. Auto:AddToggle({
  162.     Name = "Auto Buy",
  163.     Callback = function(value)
  164.         autoBuyEnabled = value
  165.         autoBuy()
  166.     end    
  167. })
  168.  
  169. Auto:AddToggle({
  170.     Name = "Auto Obby",
  171.     Callback = function(value)
  172.         autoObbyEnabled = value
  173.         autoObby()
  174.     end    
  175. })
  176.  
  177. local Misc = Window:MakeTab({
  178.     Name = "Misc",
  179.     Icon = "rbxassetid://259820115",
  180.     PremiumOnly = false
  181. })
  182.  
  183. Misc:AddToggle({
  184.     Name = "Infinite Jump",
  185.     Callback = function()
  186.         infiniteJumpEnabled = not infiniteJumpEnabled
  187.         infiniteJump()
  188.     end    
  189. })
  190.  
  191.  
  192. Misc:AddToggle({
  193.     Name = "Control Click TP",
  194.     Callback = function()
  195.         clickTpEnabled = not clickTpEnabled
  196.         game:GetService("UserInputService").InputBegan:Connect(teleportLocalPlayer)
  197.     end    
  198. })
  199.  
  200. Misc:AddSlider({
  201.     Name = "Walk Speed",
  202.     Min = 16,
  203.     Max = 600,
  204.     Default = 32,
  205.     Color = Color3.fromRGB(51, 204, 51),
  206.     Increment = 1,
  207.     ValueName = "Walk Speed",
  208.     Callback = function(Value)
  209.         walkSpeed(Value)
  210.     end    
  211. })
  212.  
  213. local TeleportTo = Window:MakeTab({
  214.     Name = "Teleport Player",
  215.     Icon = "rbxassetid://259820115",
  216.     PremiumOnly = false
  217. })
  218.  
  219. TeleportTo:AddSection({
  220.     Name = "Teleport To A Player"
  221. })
  222.  
  223. for i, player in ipairs(game.Players:GetPlayers()) do
  224.     TeleportTo:AddButton({
  225.         Name = player.Name,
  226.         Callback = function()
  227.             teleportTo(player)
  228.         end
  229.     })
  230. end
  231. ------------- UI ----------------
  232. destroyIfExists(game.Players.LocalPlayer.PlayerGui.FDN.BuyCashFrame)
  233. destroyIfExists(game.Players.LocalPlayer.PlayerGui.UI.Notifications.NotificationCreator)
Tags: Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement