-- Settings SettingsTab:CreateButton( Name = "Rejoin Server", Callback = function() game:GetService("TeleportService"):Teleport(game.PlaceId, player) end )
-- Auto Robbery Function (Villain) local autoRobbery = false local robberySpots = "Bank", "Jewelry", "CargoPlane", "Train" local spotIndex = 1 spawn(function() while wait(1) do if autoRobbery then local spot = robberySpots[spotIndex] local teleportLocation = nil if spot == "Bank" then teleportLocation = CFrame.new(-1050, 150, 2200) elseif spot == "Jewelry" then teleportLocation = CFrame.new(-850, 150, 2300) elseif spot == "CargoPlane" then teleportLocation = CFrame.new(1200, 300, 500) elseif spot == "Train" then teleportLocation = CFrame.new(300, 150, -1500) end if teleportLocation then character:SetPrimaryPartCFrame(teleportLocation) wait(2) game.ReplicatedStorage:WaitForChild("Robbery"):FireServer(spot) wait(5) spotIndex = spotIndex % 4 + 1 end end end end)
-- GUI Toggles FarmTab:CreateToggle( Name = "Auto Arrest (Hero)", CurrentValue = false, Flag = "AutoArrest", Callback = function(v) autoArrest = v end ) Roblox Mad City Script Tr1v5 Hub Autofarm GUI
-- Window local Window = Library:CreateWindow( Name = "Tr1v5 Hub )
--[[ Tr1v5 Hub | Mad City Autofarm GUI Version: 4.2.0 Loadstring: loadstring(game:HttpGet("https://raw.githubusercontent.com/tr1v5/madcity/main/tr1v5_hub.lua"))() --]] -- Main GUI Library (using Rayfield or custom) local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Rayfield/main/source"))() CurrentValue = false
FarmTab:CreateToggle( Name = "Auto Robbery (Villain)", CurrentValue = false, Flag = "AutoRobbery", Callback = function(v) autoRobbery = v end )
FarmTab:CreateSlider( Name = "Walkspeed", Range = 16, 250, Increment = 1, Suffix = "Studs/s", CurrentValue = 16, Flag = "Walkspeed", Callback = function(v) humanoid.WalkSpeed = v end ) Flag = "AutoArrest"
TeleportTab:CreateButton( Name = "Teleport to Prison", Callback = function() character:SetPrimaryPartCFrame(CFrame.new(800, 100, -800)) end )