
Sell Lemons πNO KEYSell Lemons script: Auto Tycoon, Auto Upgrade, Auto Pick up fruits
Published by bebraPublished May 30
74Views
48Copies
NeverUpdated


Sell Lemons πNO KEYThis script helps you to build your lemon empire in this place. Automatically collects lemons, automatically buys new items of your tycoon.
This script loads code from an external source. Review the URL and understand what it does before running it in Roblox.
1--// Rayfield2local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()34local Window = Rayfield:CreateWindow({5 Name = "Lemon Sells",6 LoadingTitle = "Lemon Sell Auto",7 LoadingSubtitle = "By ChatGPT & Gouang",8 ConfigurationSaving = {9 Enabled = false,10 },11 KeySystem = false,12})1314local MainTab = Window:CreateTab("Main", 4483362458)1516--// Services17local Players = game:GetService("Players")18local LocalPlayer = Players.LocalPlayer1920--// Find Tycoon21local userTycoon = (function()22 for _, v in pairs(workspace:GetChildren()) do23 if v:IsA("Folder") and v.Name:match("Tycoon%d") then24 if v:FindFirstChild("Owner") and v.Owner.Value == LocalPlayer then25 return v26 end27 end28 end29end)()3031if not userTycoon then32 Rayfield:Notify({33 Title = "Error",34 Content = "Tycoon not found!",35 Duration = 5,36 })37 return38end3940--// Variables41local AutoBuy = false42local AutoUpgrade = false43local AutoFruit = false4445local Buying = false4647local function getButtons()48 local Buttons = {}4950 for _, obj in ipairs(userTycoon.Purchases:GetDescendants()) do51 if obj:IsA("Model") then5253 local shown = obj:GetAttribute("Shown")54 local purchased = obj:GetAttribute("Purchased")5556 if shown == true and purchased ~= true then5758 local buttonPart = obj:FindFirstChild("Button")5960 if buttonPart and buttonPart:IsA("BasePart") then61 table.insert(Buttons, {62 Name = obj.Name,63 Button = buttonPart,64 })65 end66 end67 end68 end6970 return Buttons71end7273local function buyButton(buttonData)7475 if Buying then76 return77 end7879 Buying = true8081 local character = LocalPlayer.Character82 if not character then83 Buying = false84 return85 end8687 local hrp = character:FindFirstChild("HumanoidRootPart")88 if not hrp then89 Buying = false90 return91 end9293 local buttonPart = buttonData.Button9495 pcall(function()96 firetouchinterest(hrp, buttonPart, 0)97 firetouchinterest(hrp, buttonPart, 1)98 end)99100 Buying = false101end102103task.spawn(function()104 while true do105 task.wait(0.0000001)106107 if AutoBuy then108109 local Buttons = getButtons()110111 for _, button in ipairs(Buttons) do112 pcall(function()113 buyButton(button)114 end)115 end116 end117 end118end)119120local function upgradeMachines()121122 for _, obj in ipairs(userTycoon.Purchases:GetDescendants()) do123124 if obj:IsA("RemoteFunction") and obj.Name == "Upgrade" then125126 pcall(function()127128 for level = 1, 100 do129 obj:InvokeServer(level)130 end131132 end)133 end134 end135end136137task.spawn(function()138 while true do139 task.wait(0.00001)140141 if AutoUpgrade then142 pcall(function()143 upgradeMachines()144 end)145 end146 end147end)148149local Trees = {}150151local function addTree(obj)152 if obj:IsA("Model") and obj.Name == "LemonTree" then153154 if not table.find(Trees, obj) then155 table.insert(Trees, obj)156 end157 end158end159160local function removeTree(obj)161162 local index = table.find(Trees, obj)163164 if index then165 table.remove(Trees, index)166 end167end168169-- initial scan170for _, v in ipairs(workspace:GetDescendants()) do171 addTree(v)172end173174-- realtime update175workspace.DescendantAdded:Connect(addTree)176workspace.DescendantRemoving:Connect(removeTree)177178local function noCollisionTree(tree)179180 for _, obj in ipairs(tree:GetDescendants()) do181 if obj:IsA("BasePart") then182 obj.CanCollide = false183 end184 end185end186187local function teleportToTree(tree)188189 local character = LocalPlayer.Character190 if not character then191 return false192 end193194 local hrp = character:FindFirstChild("HumanoidRootPart")195 if not hrp then196 return false197 end198199 local cf = tree:GetPivot()200201 hrp.CFrame = cf + Vector3.new(0, 5, 0)202203 return true204end205206local function collectFruit(tree)207208 noCollisionTree(tree)209210 local success = teleportToTree(tree)211212 if not success then213 return214 end215216 for _, obj in ipairs(tree:GetDescendants()) do217218 if obj:IsA("BasePart") and obj.Name == "Fruit" then219220 obj.CanCollide = false221222 local clickPart = obj:FindFirstChild("ClickPart")223224 if clickPart then225226 local detector = clickPart:FindFirstChildOfClass("ClickDetector")227228 if detector then229230 task.wait(0.45)231232 pcall(function()233 fireclickdetector(detector)234 end)235 end236 end237 end238 end239end240241task.spawn(function()242 while true do243 task.wait(0.1)244245 if AutoFruit then246247 for _, tree in ipairs(Trees) do248249 if not AutoFruit then250 break251 end252253 if tree and tree.Parent then254255 pcall(function()256 collectFruit(tree)257 end)258 end259 end260 end261 end262end)263264MainTab:CreateToggle({265 Name = "Auto Buy",266 CurrentValue = false,267 Flag = "AutoBuy",268 Callback = function(Value)269 AutoBuy = Value270271 Rayfield:Notify({272 Title = "Auto Buy",273 Content = Value and "Enabled" or "Disabled",274 Duration = 3,275 })276 end,277})278279MainTab:CreateToggle({280 Name = "Auto Upgrade",281 CurrentValue = false,282 Flag = "AutoUpgrade",283 Callback = function(Value)284 AutoUpgrade = Value285286 Rayfield:Notify({287 Title = "Auto Upgrade",288 Content = Value and "Enabled" or "Disabled",289 Duration = 3,290 })291 end,292})293294MainTab:CreateToggle({295 Name = "Auto Fruit",296 CurrentValue = false,297 Flag = "AutoFruit",298 Callback = function(Value)299 AutoFruit = Value300301 Rayfield:Notify({302 Title = "Auto Fruit",303 Content = Value and "Enabled" or "Disabled",304 Duration = 3,305 })306 end,307})308309MainTab:CreateButton({310 Name = "Destroy GUI",311 Callback = function()312 Rayfield:Destroy()313 end,314})315316Rayfield:Notify({317 Title = "Loaded",318 Content = "Tycoon Autofarm Loaded Successfully",319 Duration = 5,320})by BloxByte Games Β· 4 scripts Β· 283 views




Browse
Script Types
Tools
Community
Comments
Loading commentsβ¦