getgenv().autofarm = true local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local MASS_SPAWN_DELETE = { "POTATO", "LabQuest", "PopUps", "CashGems", "Messages" } local ADMINS = { -- Devs should never expose admin names in ModuleScripts -- also there are players that have BanImmunity, which is... odd? -- return {"taketheldfs", "malfo232"} -- game:GetService("ReplicatedStorage").BanImmunity 21.02.2026 -- they were added as ADMINS too in this table "w1zlm", "pizz4smoke", "thewatchcatviolation", "ElectrifiedSun", "tr1xist", "MrZ13596", -------------------------------------- "taketheldfs", "malfo232" } local function isAdmin(player) return table.find(ADMINS, player.Name) ~= nil end local function checkPlayers() for _, player in ipairs(Players:GetPlayers()) do if isAdmin(player) then getgenv().autofarm = false break end end end local function onPlayerJoin(player) if isAdmin(player) then getgenv().autofarm = false end end local function setupCharacter(character) if not getgenv().autofarm then return end local root = character:WaitForChild("HumanoidRootPart") local targetPos = Vector3.new(112, 570, 129) local stuckPos = Vector3.new(101, 1366, 192) repeat root.CFrame = CFrame.new(targetPos) task.wait(0.1) until (stuckPos - root.Position).Magnitude > 100 if root:FindFirstChildOfClass("BodyForce") then root:FindFirstChildOfClass("BodyForce"):Destroy() end local BodyForce = Instance.new("BodyForce") BodyForce.Force = Vector3.new(0, 2500, 50000) BodyForce.Parent = root while task.wait(0.5) do if root.Position.Z >= 60000 then character:BreakJoints() break end end end if #Players:GetPlayers() > 1 then checkPlayers() end for i, v in ipairs(PlayerGui:GetChildren()) do if table.find(MASS_SPAWN_DELETE, v.Name) then v:Destroy() end end if LocalPlayer.Character then task.spawn(setupCharacter, LocalPlayer.Character) end Players.PlayerAdded:Connect(onPlayerJoin) LocalPlayer.CharacterAdded:Connect(setupCharacter) PlayerGui.ChildAdded:Connect(function(v) repeat task.wait() until v if table.find(MASS_SPAWN_DELETE, v.Name) then v:Destroy() end end)