
Key Required Verified
Autofarm
Lua Script•184 lines (6554 chars)
if game:GetService("CoreGui"):FindFirstChild("ScreenGui") then
game:GetService("CoreGui").ScreenGui:Destroy()
end
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vozoid/ui-backups/main/uwuware-v1.lua"))()
local client = game:GetService("Players").LocalPlayer
local main = library:CreateWindow("Bank Robbery Simulator")
local folder = main:AddFolder('Area 1')
local folder2 = main:AddFolder('Area 2')
local folder3 = main:AddFolder('Area 3')
local folder4 = main:AddFolder('Area 4')
folder:AddToggle({text = "Auto Collect Coins", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["1"].PickupItems:FindFirstChild("Stack of Money") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["1"].PickupItems["Stack of Money"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder:AddToggle({text = "Auto Collect Gems", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["1"].PickupItems:FindFirstChild("Diamond") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["1"].PickupItems["Diamond"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder2:AddToggle({text = "Auto Collect Coins", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["2"].PickupItems:FindFirstChild("Green Gem") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["2"].PickupItems["Green Gem"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder2:AddToggle({text = "Auto Collect Gems", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["2"].PickupItems:FindFirstChild("Egypt Diamond") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["2"].PickupItems["Egypt Diamond"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
main:AddToggle({text = "AutoCollectV2", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["2"]:FindFirstChild("Sell") then
function ClosestPart()
local dist = math.huge
local target = nil
for i,v in pairs(game:GetService("Workspace").Areas:GetChildren()) do
for i1,v1 in pairs(v.PickupItems:GetChildren()) do
local magnitude = (v1.Main.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
if magnitude < dist then
dist = magnitude
target = v1
end
end
end
return target
end
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, ClosestPart().Main, 1)
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, ClosestPart().Main, 0)
wait()
end
end
else
getgenv().Farming1 = false
end
end})
main:AddToggle({text = "AutoSell[off autocollectv2]", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["2"]:FindFirstChild("Sell") then
numbers = {}
for i,v in pairs(game:GetService("Workspace").Areas:GetChildren()) do
table.insert(numbers,v.Name)
end
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Areas[math.max(table.unpack(numbers))].Sell, 0)
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, game:GetService("Workspace").Areas[math.max(table.unpack(numbers))].Sell, 1)
wait()
end
end
else
getgenv().Farming1 = false
end
end})
folder3:AddToggle({text = "Auto Collect Coins", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["3"].PickupItems:FindFirstChild("Moon Coin") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["3"].PickupItems["Moon Coin"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder3:AddToggle({text = "Auto Collect Gems", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["3"].PickupItems:FindFirstChild("Moon Diamond") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["3"].PickupItems["Moon Diamond"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder4:AddToggle({text = "Auto Collect Coins", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["4"].PickupItems:FindFirstChild("Golden Coin") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["4"].PickupItems["Golden Coin"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder4:AddToggle({text = "Auto Collect Gems", flag = "autofarm", callback = function(state)
if state then
getgenv().Farming1 = true
while Farming1 == true do
if Workspace.Areas["4"].PickupItems:FindFirstChild("Castle Diamond") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Areas["4"].PickupItems["Castle Diamond"].Main.Position)
end
wait()
end
else
getgenv().Farming1 = false
end
end})
folder4:AddLabel({text = "almost didn't do this part", flag = "autofarm", callback = function(state)
end})
main:AddBind({text = "Toggle UI", key = "RightShift", callback = function() library:Close() end})
library:Init()Features & Information
Autofarm
Autosell
Community Comments (0)
No comments yet for this script.
