Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local currenttier = Instance.new("TextLabel")
- local tier = Instance.new("TextLabel")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.461720586, 0, 0.110278375, 0)
- Frame.Size = UDim2.new(0, 142, 0, 130)
- Frame.Active = true
- Frame.Draggable = true
- currenttier.Name = "current tier"
- currenttier.Parent = Frame
- currenttier.BackgroundColor3 = Color3.new(1, 1, 1)
- currenttier.Size = UDim2.new(0, 142, 0, 47)
- currenttier.Font = Enum.Font.SourceSans
- currenttier.Text = "Current Tier:"
- currenttier.TextColor3 = Color3.new(0, 0, 0)
- currenttier.TextSize = 14
- currenttier.TextWrapped = true
- tier.Name = "tier"
- tier.Parent = Frame
- tier.BackgroundColor3 = Color3.new(1, 1, 1)
- tier.BackgroundTransparency = 1
- tier.Position = UDim2.new(0, 0, 0.484615386, 0)
- tier.Size = UDim2.new(0, 142, 0, 43)
- tier.Font = Enum.Font.SourceSans
- tier.TextColor3 = Color3.new(0, 0, 0)
- tier.TextScaled = true
- tier.TextSize = 14
- tier.TextWrapped = true
- local Autofarm = _G.settings.On
- local Speed = _G.settings.Speed
- local move = _G.settings.TimeBetweenMove
- local autoUpgrade = _G.settings["Auto Upgrade"]
- local autoRebirth = _G.settings["Auto Rebirth"]
- repeat wait() until game.Players.LocalPlayer.Character ~= nil
- repeat wait() until game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if game:GetService("Workspace"):FindFirstChild("Bench") then
- game:GetService("Workspace").Bench:Destroy()
- end
- wait(0.5)
- local hum2 = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- game:GetService("Workspace").Pads.Shop.CFrame = hum2.CFrame
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(3)
- wait(1)
- local auto_equip = coroutine.wrap(function()
- game:GetService('RunService').Stepped:connect(function()
- if Autofarm then
- for i,x in pairs(game:GetService("Workspace").Pads:GetChildren()) do
- if x:IsA("Part") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- x.CFrame = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame + Vector3.new(math.random(-10,10),0,0)
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- end)
- end)
- auto_equip()
- local q = coroutine.wrap(function()
- while wait() do
- if Autofarm then
- local hum = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- local lol = {}
- for i,v in pairs(game:GetService("Workspace")["Main Island Models"]:GetChildren()) do
- if string.find(v.Name, "Tree") then
- if v:FindFirstChild("MeshPart") then
- table.insert(lol, v)
- end
- end
- end
- local kek = lol[math.random(1, #lol)]
- game:GetService("TweenService"):create(hum,TweenInfo.new((hum.Position-kek.MeshPart.Position).Magnitude/Speed,Enum.EasingStyle.Quad), {CFrame = kek.MeshPart.CFrame*CFrame.new(0,-7,0)}):Play()
- wait(move)
- end
- end
- end)
- q()
- local tpsell = coroutine.wrap(function()
- while wait() do
- if Autofarm then
- game:GetService("ReplicatedStorage").RF:InvokeServer("grassCollect", {[1] = 1})
- game:GetService("ReplicatedStorage").RF:InvokeServer("grassCollect", {[1] = 2})
- end
- end
- end)
- tpsell()
- local shitGame = coroutine.wrap(function()
- while wait(0.5) do
- local hum3 = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if autoUpgrade then
- local remote = game:GetService("ReplicatedStorage").RF
- zoinks = 0
- arse = {}
- for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.gameUI.shopFrame.scrollingFrame:GetChildren()) do
- if v:IsA("TextButton") then
- table.insert(arse, v)
- if v.Text == "" then
- zoinks = zoinks+1
- end
- end
- end
- if _G.settings.auto_rebirth_settings.Enabled and autoRebirth and zoinks ~= 0 then
- if zoinks >= tonumber(_G.settings.auto_rebirth_settings.CustomTeirRebirth) then
- print("Ok")
- game:GetService("ReplicatedStorage").RF:InvokeServer("Rebirth", {})
- end
- end
- if zoinks ~= 0 then
- tier.Name = zoinks
- tier.Text = zoinks
- for i,x in pairs(arse[zoinks]:GetDescendants()) do
- if x:IsA("Model") then
- remote:InvokeServer("buyOrEquipMower", {[1] = x.Name})
- remote:InvokeServer("buyUpgrade", {[1] = "rangeLevel"})
- remote:InvokeServer("buyUpgrade", {[1] = "bagLevel"})
- for i,c in pairs(arse[zoinks - 1]:GetDescendants()) do
- if c:IsA("Model") then
- remote:InvokeServer("buyOrEquipMower", {[1] = c.Name})
- end
- end
- end
- end
- end
- end
- end
- end)
- shitGame()
- local notvis = coroutine.wrap(function()
- while wait() do
- if Autofarm then
- local hum2 = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- hum2.Velocity = Vector3.new(-200,-200,-200)
- if game:GetService("Players").LocalPlayer.PlayerGui.gameUI.shopFrame ~= nil then
- game:GetService("Players").LocalPlayer.PlayerGui.gameUI.shopFrame.Visible = false
- end
- end
- end
- end)
- notvis()
- local rebirth = coroutine.wrap(function()
- while wait(1) do
- if autoRebirth then
- if not _G.settings.auto_rebirth_settings.Enabled then
- game:GetService("ReplicatedStorage").RF:InvokeServer("Rebirth", {})
- end
- end
- end
- end)
- game:GetService("Players").LocalPlayer.Idled:connect(function()
- game:GetService("VirtualUser"):Button2Down(Vector2.new())
- end)
- rebirth()
Add Comment
Please, Sign In to add comment