Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
- local w = library:CreateWindow("Tap Farm Tycoon")
- local b = w:CreateFolder("AutoFarm")
- local e = w:CreateFolder("Mix")
- local u = w:CreateFolder("Credits")
- b:Toggle("AutoPlant",function(bool)
- shared.toggle = bool
- AutoPlant = bool
- end)
- b:Toggle("AutoTransplant",function(bool)
- shared.toggle = bool
- AutoTransplant = bool
- end)
- e:Toggle("AntiAfk",function(bool)
- shared.toggle = bool
- AntiAfk = bool
- end)
- e:Button("Tp Plot",function()
- for i,v in pairs(game:GetService("Workspace").Plots:GetDescendants()) do
- if v.ClassName == "TextLabel" then
- if v.Text == game.Players.LocalPlayer.Name.."'s Farmland" then
- if v.Parent.Parent.Parent.Parent.Position == Vector3.new(208, -9.5, 216) then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Parent.Parent.Parent.Parent.CFrame.Position + Vector3.new(0,20,0))
- end
- end
- end
- end
- end)
- e:Button("Select Plot",function()
- for i,v in pairs(game:GetService("Workspace").Plots:GetDescendants()) do
- if v.ClassName == "TextLabel" then
- if v.Text == "Nobody's Farmland" then
- if v.Parent.Parent.Parent.Parent.Position == Vector3.new(208, -9.5, 216) then
- workspace.GlobalEvents.BuyPlot:FireServer(v.Parent.Parent.Parent.Parent)
- end
- end
- end
- end
- end)
- u:Button("maxgat5#8395",function()
- setclipboard("maxgat5#8395")
- end)
- u:Button("Discord Server",function()
- setclipboard("https://discord.gg/K4txdRSVfq")
- end)
- game:GetService('RunService').Stepped:connect(function()
- if AntiAfk == true then
- local bb=game:service'VirtualUser'
- bb:CaptureController()
- bb:ClickButton2(Vector2.new())
- end
- end)
- while wait() do
- if AutoPlant == true then
- for i=40,70 do
- for i1=40,70 do
- if AutoPlant == true then
- workspace.GlobalEvents.Plant:FireServer({"Carrot",i1,i})
- end
- end
- end
- end
- if AutoTransplant == true then
- for i2=1,5 do
- for i=40,70 do
- for i1=40,70 do
- if AutoTransplant == true then
- workspace.GlobalEvents.InteractTile:FireServer({i1,i})
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement