Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = game:GetService("Players").LocalPlayer
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
- local w = library:CreateWindow('AutoFarm')
- local autoSel = w:Toggle('Auto Sell', {flag = "toggle1"}, function()
- if(w.flags.toggle1 == true) then
- _G.AutoSell = true
- else
- _G.AutoSell = false
- end
- end)
- local autoFlow = w:Toggle('Auto Teleport To Flowers', {flag = "toggle3"}, function()
- if(w.flags.toggle3 == true) then
- _G.AutoFlower = true
- else
- _G.AutoFlower = false
- end
- end)
- local teleW = library:CreateWindow('Teleports')
- local randTele = teleW:Button('Teleport To Random Grass Zone', function()
- Areas = {}
- Areas[1] = "candyLand"
- Areas[2] = "Snow"
- Areas[3] = "pyramidPastures"
- Areas[4] = "beachIsland"
- Areas[5] = "Swamp"
- Areas[6] = "lavaIsland"
- Areas[7] = "Bee"
- Areas[8] = "Glowshroom"
- number = math.random(1,8)
- area = Areas[number]
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals[area].Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Candy Land', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.candyLand.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Snow', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.Snow.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Pyramid', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.pyramidPastures.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Beach Island', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.beachIsland.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Lava Island', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.lavaIsland.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Swamp', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.Swamp.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Bee', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.Bee.Exit.CFrame
- end)
- local teleCaL = teleW:Button('Teleport To Glowshroom', function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Portals.Glowshroom.Exit.CFrame
- end)
- local cre = library:CreateWindow('Credits')
- cre:Section('V3RM : DeanGo31')
- cre:Section('Discord : Vergo#1206')
- while wait() do
- if(_G.AutoSell == true) then
- local sellGrassSpot
- local sellFlowerSpot
- local function getSellGrassZone()
- for I,V in pairs(game.Workspace.Map.Pads:GetChildren()) do
- if V.Name == "Sell" then
- if V.Sign.TextLabel.Text == "Sell Grass" then
- sellGrassSpot = V
- end
- end
- end
- end
- local Amount = string.split(game.Players.LocalPlayer.PlayerGui.gameUI.grassGauge.barFrame.grassLabel.Text, "/")
- local CurrentAmount = tonumber(Amount[1])
- local MakAmount = tonumber(Amount[2])
- if(CurrentAmount >= MakAmount) then
- getSellGrassZone();
- local lastCF = lp.Character.HumanoidRootPart.CFrame
- lp.Character.HumanoidRootPart.CFrame = sellGrassSpot.CFrame;
- lp.PlayerGui.gameUI.sellPromptFrame.Visible = false
- wait(.5)
- lp.Character.HumanoidRootPart.CFrame = lastCF
- end
- wait(.5)
- end
- if _G.AutoFlower == true then
- for I,V in pairs (game.Workspace.rayIgnore:GetChildren()) do
- if _G.AutoFlower == false then return end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = V.CFrame
- wait(.5)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement