local HttpService = game:GetService("HttpService") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local FileName = "TR_V1_Settings.json" local Settings = { DeleteList = {"Blood Cup", "Oil Cup", "Acid Cup", "Light Cup"}, OpenList = {"chest"}, CollectionInterval = 0.1, TeleportInterval = 0.1, SafeHeight = -5.75 } if isfile(FileName) then pcall(function() Settings = HttpService:JSONDecode(readfile(FileName)) if not Settings.SafeHeight then Settings.SafeHeight = -5.75 end end) end local function SaveSettings() writefile(FileName, HttpService:JSONEncode(Settings)) end game.Workspace.FallenPartsDestroyHeight = -50000 _G.AutoFarm = false _G.AutoDelete = false _G.IsFloating = false _G.AutoOpen = false _G.CanTouchEnabled = true _G.SafeMode = false _G.GrabTools = false local Noclipping = nil local GrabToolsConnection = nil local function NoclipLoop() local character = Players.LocalPlayer.Character if character then for _, child in pairs(character:GetDescendants()) do if child:IsA("BasePart") and child.CanCollide == true then child.CanCollide = false end end end end local function EnableSafeMode() local character = Players.LocalPlayer.Character if not character then return end local HRP = character:FindFirstChild("HumanoidRootPart") local Humanoid = character:FindFirstChild("Humanoid") if not Noclipping then Noclipping = RunService.Stepped:Connect(NoclipLoop) end if HRP and Humanoid then local BG = Instance.new('BodyGyro') local BV = Instance.new('BodyVelocity') BG.Name = "SafeModeBG" BV.Name = "SafeModeBV" BG.P = 9e4 BG.Parent = HRP BV.Parent = HRP BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) BG.CFrame = HRP.CFrame BV.Velocity = Vector3.new(0, 0, 0) BV.MaxForce = Vector3.new(9e9, 9e9, 9e9) Humanoid.PlatformStand = true end end local function DisableSafeMode() if Noclipping then Noclipping:Disconnect() Noclipping = nil end local character = Players.LocalPlayer.Character if character then local HRP = character:FindFirstChild("HumanoidRootPart") local Humanoid = character:FindFirstChild("Humanoid") if HRP then if HRP:FindFirstChild("SafeModeBG") then HRP.SafeModeBG:Destroy() end if HRP:FindFirstChild("SafeModeBV") then HRP.SafeModeBV:Destroy() end end if Humanoid then Humanoid.PlatformStand = false end end end if game:GetService("CoreGui"):FindFirstChild("TRV1Gui") then game:GetService("CoreGui").TRV1Gui:Destroy() end local TRV1Gui = Instance.new("ScreenGui") TRV1Gui.Name = "TRV1Gui" TRV1Gui.Parent = game.CoreGui TRV1Gui.ResetOnSpawn = false local Frame = Instance.new("Frame") Frame.Parent = TRV1Gui Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.BackgroundTransparency = 0.2 Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0, 100, 0, 100) Frame.Size = UDim2.new(0, 180, 0, 30) Frame.Active = true Frame.Draggable = true local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = Frame local Frame2 = Instance.new("Frame") Frame2.Parent = Frame Frame2.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Frame2.BackgroundTransparency = 0.2 Frame2.BorderSizePixel = 0 Frame2.Position = UDim2.new(0, 0, 0, 35) Frame2.Size = UDim2.new(0, 180, 0, 205) Frame2.Visible = true local corner2 = Instance.new("UICorner") corner2.CornerRadius = UDim.new(0, 8) corner2.Parent = Frame2 local Frame3 = Instance.new("Frame") Frame3.Parent = Frame Frame3.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Frame3.BackgroundTransparency = 0.2 Frame3.BorderSizePixel = 0 Frame3.Position = UDim2.new(0, 0, 0, 35) Frame3.Size = UDim2.new(0, 180, 0, 205) Frame3.Visible = false local corner3 = Instance.new("UICorner") corner3.CornerRadius = UDim.new(0, 8) corner3.Parent = Frame3 local SettingsFrame = Instance.new("Frame") SettingsFrame.Parent = Frame SettingsFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) SettingsFrame.BackgroundTransparency = 0.1 SettingsFrame.BorderSizePixel = 0 SettingsFrame.Position = UDim2.new(1, 10, 0, 0) SettingsFrame.Size = UDim2.new(0, 140, 0, 135) SettingsFrame.Visible = false SettingsFrame.ClipsDescendants = true local cornerSettings = Instance.new("UICorner") cornerSettings.CornerRadius = UDim.new(0, 8) cornerSettings.Parent = SettingsFrame local TextLabel = Instance.new("TextLabel") TextLabel.Parent = Frame TextLabel.Size = UDim2.new(0, 100, 0, 30) TextLabel.Position = UDim2.new(0, 30, 0, 0) TextLabel.Text = "TR V1" TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextLabel.TextColor3 = Color3.fromRGB(220, 220, 220) TextLabel.TextSize = 16 TextLabel.TextScaled = false TextLabel.BackgroundTransparency = 1 TextLabel.Font = Enum.Font.GothamBold TextLabel.TextXAlignment = Enum.TextXAlignment.Left local KillGui = Instance.new("TextButton") KillGui.Parent = Frame KillGui.Size = UDim2.new(0, 30, 0, 30) KillGui.Position = UDim2.new(0, 0, 0, 0) KillGui.Text = "×" KillGui.BackgroundColor3 = Color3.fromRGB(200, 50, 50) KillGui.BackgroundTransparency = 1 KillGui.TextColor3 = Color3.fromRGB(255, 100, 100) KillGui.TextSize = 24 KillGui.Font = Enum.Font.GothamBold KillGui.MouseButton1Up:Connect(function() _G.AutoFarm = false _G.AutoDelete = false _G.IsFloating = false _G.AutoOpen = false _G.CanTouchEnabled = true _G.SafeMode = false _G.GrabTools = false if GrabToolsConnection then GrabToolsConnection:Disconnect() end DisableSafeMode() TRV1Gui:Destroy() end) local Mini = Instance.new("TextButton") Mini.Parent = Frame Mini.Size = UDim2.new(0, 30, 0, 30) Mini.Position = UDim2.new(0, 150, 0, 0) Mini.Text = "-" Mini.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Mini.BackgroundTransparency = 1 Mini.TextColor3 = Color3.fromRGB(200, 200, 200) Mini.TextSize = 24 Mini.Font = Enum.Font.GothamBold Mini.MouseButton1Up:Connect(function() if Mini.Text == "-" then Mini.Text = "+" Frame2.Visible = false Frame3.Visible = false SettingsFrame.Visible = false else Mini.Text = "-" Frame2.Visible = true Frame3.Visible = false end end) local function createButton(parent, text, position, color, width) local btn = Instance.new("TextButton") btn.Parent = parent btn.Size = UDim2.new(0, width or 160, 0, 28) btn.Position = position btn.Text = text btn.BackgroundColor3 = color btn.BackgroundTransparency = 0.3 btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 12 btn.BorderSizePixel = 0 btn.Font = Enum.Font.GothamBold local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn return btn end local function createListManager(parentFrame, listTable, saveFunc) local ManagerFrame = Instance.new("Frame") ManagerFrame.Parent = parentFrame ManagerFrame.Size = UDim2.new(1, 0, 1, 0) ManagerFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) ManagerFrame.BorderSizePixel = 0 ManagerFrame.Visible = false ManagerFrame.ZIndex = 5 local cManager = Instance.new("UICorner") cManager.CornerRadius = UDim.new(0, 8) cManager.Parent = ManagerFrame local CloseBtn = Instance.new("TextButton") CloseBtn.Parent = ManagerFrame CloseBtn.Size = UDim2.new(0, 20, 0, 20) CloseBtn.Position = UDim2.new(1, -25, 0, 5) CloseBtn.Text = "×" CloseBtn.BackgroundTransparency = 1 CloseBtn.TextColor3 = Color3.fromRGB(255, 100, 100) CloseBtn.TextSize = 20 CloseBtn.Font = Enum.Font.GothamBold CloseBtn.ZIndex = 6 CloseBtn.MouseButton1Click:Connect(function() ManagerFrame.Visible = false end) local InputBox = Instance.new("TextBox") InputBox.Parent = ManagerFrame InputBox.Size = UDim2.new(0, 110, 0, 25) InputBox.Position = UDim2.new(0, 5, 0, 5) InputBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) InputBox.TextColor3 = Color3.fromRGB(255, 255, 255) InputBox.PlaceholderText = "Name/Key..." InputBox.Text = "" InputBox.Font = Enum.Font.Gotham InputBox.TextSize = 12 InputBox.ZIndex = 6 local cInput = Instance.new("UICorner") cInput.CornerRadius = UDim.new(0, 4) cInput.Parent = InputBox local AddBtn = Instance.new("TextButton") AddBtn.Parent = ManagerFrame AddBtn.Size = UDim2.new(0, 30, 0, 25) AddBtn.Position = UDim2.new(0, 120, 0, 5) AddBtn.Text = "+" AddBtn.BackgroundColor3 = Color3.fromRGB(40, 160, 40) AddBtn.TextColor3 = Color3.fromRGB(255, 255, 255) AddBtn.Font = Enum.Font.GothamBold AddBtn.TextSize = 16 AddBtn.ZIndex = 6 local cAdd = Instance.new("UICorner") cAdd.CornerRadius = UDim.new(0, 4) cAdd.Parent = AddBtn local Scroll = Instance.new("ScrollingFrame") Scroll.Parent = ManagerFrame Scroll.Size = UDim2.new(1, -10, 1, -40) Scroll.Position = UDim2.new(0, 5, 0, 35) Scroll.BackgroundTransparency = 1 Scroll.ScrollBarThickness = 4 Scroll.ZIndex = 6 Scroll.CanvasSize = UDim2.new(0, 0, 0, 0) local UIList = Instance.new("UIListLayout") UIList.Parent = Scroll UIList.SortOrder = Enum.SortOrder.LayoutOrder UIList.Padding = UDim.new(0, 2) local function RefreshList() for _, v in pairs(Scroll:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end for i, item in ipairs(listTable) do local ItemFrame = Instance.new("Frame") ItemFrame.Parent = Scroll ItemFrame.Size = UDim2.new(1, 0, 0, 20) ItemFrame.BackgroundTransparency = 1 ItemFrame.ZIndex = 7 local DelBtn = Instance.new("TextButton") DelBtn.Parent = ItemFrame DelBtn.Size = UDim2.new(0, 20, 0, 20) DelBtn.Position = UDim2.new(1, -20, 0, 0) DelBtn.Text = "×" DelBtn.BackgroundTransparency = 1 DelBtn.TextColor3 = Color3.fromRGB(200, 50, 50) DelBtn.TextSize = 14 DelBtn.Font = Enum.Font.GothamBold DelBtn.ZIndex = 8 DelBtn.MouseButton1Click:Connect(function() table.remove(listTable, i) saveFunc() RefreshList() end) local Lbl = Instance.new("TextLabel") Lbl.Parent = ItemFrame Lbl.Size = UDim2.new(1, -25, 1, 0) Lbl.BackgroundTransparency = 1 Lbl.Text = item Lbl.TextColor3 = Color3.fromRGB(200, 200, 200) Lbl.TextXAlignment = Enum.TextXAlignment.Left Lbl.Font = Enum.Font.Gotham Lbl.TextSize = 12 Lbl.ZIndex = 7 end Scroll.CanvasSize = UDim2.new(0, 0, 0, UIList.AbsoluteContentSize.Y) end AddBtn.MouseButton1Click:Connect(function() if InputBox.Text ~= "" then table.insert(listTable, InputBox.Text) InputBox.Text = "" saveFunc() RefreshList() end end) RefreshList() return ManagerFrame end local AutoFarmButton = createButton(Frame2, "Auto Farm (Off)", UDim2.new(0, 10, 0, 10), Color3.fromRGB(180, 40, 40)) local GearButton = Instance.new("TextButton") GearButton.Parent = Frame2 GearButton.Size = UDim2.new(0, 20, 0, 20) GearButton.Position = UDim2.new(1, -25, 0, 175) GearButton.Text = "⚙" GearButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) GearButton.BackgroundTransparency = 1 GearButton.TextColor3 = Color3.fromRGB(150, 150, 150) GearButton.TextSize = 18 GearButton.Font = Enum.Font.GothamBold GearButton.MouseButton1Click:Connect(function() SettingsFrame.Visible = not SettingsFrame.Visible end) local CollectIntervalLabel = Instance.new("TextLabel") CollectIntervalLabel.Parent = SettingsFrame CollectIntervalLabel.Size = UDim2.new(0, 80, 0, 25) CollectIntervalLabel.Position = UDim2.new(0, 5, 0, 15) CollectIntervalLabel.Text = "Collect (s):" CollectIntervalLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) CollectIntervalLabel.TextColor3 = Color3.fromRGB(220, 220, 220) CollectIntervalLabel.TextSize = 12 CollectIntervalLabel.TextXAlignment = Enum.TextXAlignment.Left CollectIntervalLabel.BackgroundTransparency = 1 CollectIntervalLabel.Font = Enum.Font.Gotham local CollectIntervalInput = Instance.new("TextBox") CollectIntervalInput.Parent = SettingsFrame CollectIntervalInput.Size = UDim2.new(0, 40, 0, 25) CollectIntervalInput.Position = UDim2.new(0, 90, 0, 15) CollectIntervalInput.BackgroundColor3 = Color3.fromRGB(60, 60, 60) CollectIntervalInput.BackgroundTransparency = 0.2 CollectIntervalInput.BorderSizePixel = 0 CollectIntervalInput.TextColor3 = Color3.fromRGB(255, 255, 255) CollectIntervalInput.Text = tostring(Settings.CollectionInterval) CollectIntervalInput.Font = Enum.Font.Gotham CollectIntervalInput.TextSize = 12 CollectIntervalInput.ClearTextOnFocus = false local cornerCollectInput = Instance.new("UICorner"); cornerCollectInput.CornerRadius = UDim.new(0, 4); cornerCollectInput.Parent = CollectIntervalInput CollectIntervalInput.FocusLost:Connect(function() local num = tonumber(CollectIntervalInput.Text) if num and num >= 0 then Settings.CollectionInterval = num SaveSettings() CollectIntervalInput.Text = tostring(num) else CollectIntervalInput.Text = tostring(Settings.CollectionInterval) end end) local TeleportIntervalLabel = Instance.new("TextLabel") TeleportIntervalLabel.Parent = SettingsFrame TeleportIntervalLabel.Size = UDim2.new(0, 80, 0, 25) TeleportIntervalLabel.Position = UDim2.new(0, 5, 0, 50) TeleportIntervalLabel.Text = "TP Delay (s):" TeleportIntervalLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TeleportIntervalLabel.TextColor3 = Color3.fromRGB(220, 220, 220) TeleportIntervalLabel.TextSize = 12 TeleportIntervalLabel.TextXAlignment = Enum.TextXAlignment.Left TeleportIntervalLabel.BackgroundTransparency = 1 TeleportIntervalLabel.Font = Enum.Font.Gotham local TeleportIntervalInput = Instance.new("TextBox") TeleportIntervalInput.Parent = SettingsFrame TeleportIntervalInput.Size = UDim2.new(0, 40, 0, 25) TeleportIntervalInput.Position = UDim2.new(0, 90, 0, 50) TeleportIntervalInput.BackgroundColor3 = Color3.fromRGB(60, 60, 60) TeleportIntervalInput.BackgroundTransparency = 0.2 TeleportIntervalInput.BorderSizePixel = 0 TeleportIntervalInput.TextColor3 = Color3.fromRGB(255, 255, 255) TeleportIntervalInput.Text = tostring(Settings.TeleportInterval) TeleportIntervalInput.Font = Enum.Font.Gotham TeleportIntervalInput.TextSize = 12 TeleportIntervalInput.ClearTextOnFocus = false local cornerTeleportInput = Instance.new("UICorner"); cornerTeleportInput.CornerRadius = UDim.new(0, 4); cornerTeleportInput.Parent = TeleportIntervalInput TeleportIntervalInput.FocusLost:Connect(function() local num = tonumber(TeleportIntervalInput.Text) if num and num >= 0 then Settings.TeleportInterval = num SaveSettings() TeleportIntervalInput.Text = tostring(num) else TeleportIntervalInput.Text = tostring(Settings.TeleportInterval) end end) local SafeHeightLabel = Instance.new("TextLabel") SafeHeightLabel.Parent = SettingsFrame SafeHeightLabel.Size = UDim2.new(0, 80, 0, 25) SafeHeightLabel.Position = UDim2.new(0, 5, 0, 85) SafeHeightLabel.Text = "Safe Ht:" SafeHeightLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) SafeHeightLabel.TextColor3 = Color3.fromRGB(220, 220, 220) SafeHeightLabel.TextSize = 12 SafeHeightLabel.TextXAlignment = Enum.TextXAlignment.Left SafeHeightLabel.BackgroundTransparency = 1 SafeHeightLabel.Font = Enum.Font.Gotham local SafeHeightInput = Instance.new("TextBox") SafeHeightInput.Parent = SettingsFrame SafeHeightInput.Size = UDim2.new(0, 40, 0, 25) SafeHeightInput.Position = UDim2.new(0, 90, 0, 85) SafeHeightInput.BackgroundColor3 = Color3.fromRGB(60, 60, 60) SafeHeightInput.BackgroundTransparency = 0.2 SafeHeightInput.BorderSizePixel = 0 SafeHeightInput.TextColor3 = Color3.fromRGB(255, 255, 255) SafeHeightInput.Text = tostring(Settings.SafeHeight) SafeHeightInput.Font = Enum.Font.Gotham SafeHeightInput.TextSize = 12 SafeHeightInput.ClearTextOnFocus = false local cornerSafeHeightInput = Instance.new("UICorner"); cornerSafeHeightInput.CornerRadius = UDim.new(0, 4); cornerSafeHeightInput.Parent = SafeHeightInput SafeHeightInput.FocusLost:Connect(function() local num = tonumber(SafeHeightInput.Text) if num then Settings.SafeHeight = num SaveSettings() SafeHeightInput.Text = tostring(num) else SafeHeightInput.Text = tostring(Settings.SafeHeight) end end) local AutoDeleteButton = createButton(Frame2, "Auto Del (Off)", UDim2.new(0, 10, 0, 43), Color3.fromRGB(180, 40, 40), 130) local EditDeleteButton = Instance.new("TextButton") EditDeleteButton.Parent = Frame2 EditDeleteButton.Size = UDim2.new(0, 25, 0, 28) EditDeleteButton.Position = UDim2.new(0, 145, 0, 43) EditDeleteButton.Text = "..." EditDeleteButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) EditDeleteButton.BackgroundTransparency = 0.3 EditDeleteButton.TextColor3 = Color3.fromRGB(255, 255, 255) EditDeleteButton.Font = Enum.Font.GothamBold local cEditDel = Instance.new("UICorner"); cEditDel.CornerRadius = UDim.new(0, 6); cEditDel.Parent = EditDeleteButton local DeleteManager = createListManager(Frame2, Settings.DeleteList, SaveSettings) EditDeleteButton.MouseButton1Click:Connect(function() DeleteManager.Visible = not DeleteManager.Visible end) local FloatButton = createButton(Frame2, "Float (Off)", UDim2.new(0, 10, 0, 76), Color3.fromRGB(180, 40, 40)) local SafeModeButton = createButton(Frame2, "Safe Mode (Off)", UDim2.new(0, 10, 0, 109), Color3.fromRGB(180, 40, 40)) local NextPageButton = createButton(Frame2, "Next Page ->", UDim2.new(0, 10, 0, 142), Color3.fromRGB(60, 60, 60)) local AutoOpenButton = createButton(Frame3, "Auto Open (Off)", UDim2.new(0, 10, 0, 10), Color3.fromRGB(180, 40, 40), 130) local EditOpenButton = Instance.new("TextButton") EditOpenButton.Parent = Frame3 EditOpenButton.Size = UDim2.new(0, 25, 0, 28) EditOpenButton.Position = UDim2.new(0, 145, 0, 10) EditOpenButton.Text = "..." EditOpenButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) EditOpenButton.BackgroundTransparency = 0.3 EditOpenButton.TextColor3 = Color3.fromRGB(255, 255, 255) EditOpenButton.Font = Enum.Font.GothamBold local cEditOpen = Instance.new("UICorner"); cEditOpen.CornerRadius = UDim.new(0, 6); cEditOpen.Parent = EditOpenButton local OpenManager = createListManager(Frame3, Settings.OpenList, SaveSettings) EditOpenButton.MouseButton1Click:Connect(function() OpenManager.Visible = not OpenManager.Visible end) local KillAllNPCsButton = createButton(Frame3, "Kill All NPCs", UDim2.new(0, 10, 0, 43), Color3.fromRGB(60, 60, 60)) local CanTouchButton = createButton(Frame3, "CanTouch (On)", UDim2.new(0, 10, 0, 76), Color3.fromRGB(40, 160, 40)) local GrabToolsButton = createButton(Frame3, "Grab Tools (Off)", UDim2.new(0, 10, 0, 109), Color3.fromRGB(180, 40, 40)) local BackButton = createButton(Frame3, "<- Back", UDim2.new(0, 10, 0, 142), Color3.fromRGB(60, 60, 60)) local function setCanTouch(enabled) local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then pcall(function() part.CanTouch = enabled end) end end end local function killNPCs() local function checkDescendants(obj) for _, v in pairs(obj:GetDescendants()) do if v:IsA("Model") and v:FindFirstChild("Humanoid") and not game.Players:GetPlayerFromCharacter(v) then pcall(function() v.Humanoid.Health = 0 end) end end end checkDescendants(game.Workspace) end local function safeModeKillLoop() while _G.SafeMode do killNPCs() wait(8) end end local function autoFarmLoop() while _G.AutoFarm do local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local chestsFolder = workspace:FindFirstChild("chests") or workspace:FindFirstChild("Chests") if chestsFolder then local potentialTargets = {} for _, model in pairs(chestsFolder:GetChildren()) do if model:IsA("Model") then local prompt = model:FindFirstChildWhichIsA("ProximityPrompt", true) if prompt then if prompt.HoldDuration <= 25 then local targetPos = nil local parentPart = prompt.Parent if parentPart:IsA("BasePart") then targetPos = parentPart.Position elseif parentPart:IsA("Model") then targetPos = parentPart:GetPivot().Position end if targetPos then local dist = (humanoidRootPart.Position - targetPos).Magnitude if dist <= 3000000 then table.insert(potentialTargets, { Prompt = prompt, Position = targetPos, Distance = dist }) end end end end end end table.sort(potentialTargets, function(a, b) return a.Distance < b.Distance end) if #potentialTargets > 0 then for _, targetData in ipairs(potentialTargets) do if not _G.AutoFarm then break end if targetData.Prompt and targetData.Prompt.Parent then local tpOffset = Vector3.new(0, 3, 0) if _G.SafeMode then tpOffset = Vector3.new(0, Settings.SafeHeight, 0) end humanoidRootPart.CFrame = CFrame.new(targetData.Position + tpOffset) wait(Settings.TeleportInterval) fireproximityprompt(targetData.Prompt) wait(Settings.CollectionInterval) end end elseif _G.SafeMode then if humanoidRootPart.Position.Y < 50000 then humanoidRootPart.CFrame = CFrame.new(humanoidRootPart.Position.X, 80000, humanoidRootPart.Position.Z) end end end wait(0.2) end end local function autoDeleteLoop() while _G.AutoDelete do wait(0.5) local player = game.Players.LocalPlayer local backpack = player:FindFirstChild("Backpack") if backpack then for _, tool in pairs(backpack:GetChildren()) do if tool:IsA("Tool") and table.find(Settings.DeleteList, tool.Name) then tool:Destroy() end end end local character = player.Character if character then for _, tool in pairs(character:GetChildren()) do if tool:IsA("Tool") and table.find(Settings.DeleteList, tool.Name) then tool:Destroy() end end end end end local function autoOpenLoop() while _G.AutoOpen do local player = game.Players.LocalPlayer local backpack = player.Backpack local character = player.Character or player.CharacterAdded:Wait() for _, tool in pairs(backpack:GetChildren()) do if tool:IsA("Tool") then for _, keyword in ipairs(Settings.OpenList) do if string.find(string.lower(tool.Name), string.lower(keyword)) then pcall(function() tool.Parent = character wait(0.05) tool:Activate() wait(0.1) if tool.Parent == character then tool.Parent = backpack end end) break end end end end wait(0.2) end end local function enableFloat() local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.PlatformStand = true local humanoidRootPart = character:WaitForChild("HumanoidRootPart") if not humanoidRootPart:FindFirstChild("BodyVelocity") then local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.MaxForce = Vector3.new(0, math.huge, 0) bodyVelocity.P = 5000 bodyVelocity.Parent = humanoidRootPart end end local function disableFloat() local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.PlatformStand = false local humanoidRootPart = character:WaitForChild("HumanoidRootPart") if humanoidRootPart:FindFirstChild("BodyVelocity") then humanoidRootPart:FindFirstChild("BodyVelocity"):Destroy() end end AutoFarmButton.MouseButton1Up:Connect(function() if not _G.AutoFarm then AutoFarmButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) AutoFarmButton.Text = "Auto Farm (On)" _G.AutoFarm = true spawn(autoFarmLoop) else AutoFarmButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) AutoFarmButton.Text = "Auto Farm (Off)" _G.AutoFarm = false end end) AutoDeleteButton.MouseButton1Up:Connect(function() if not _G.AutoDelete then AutoDeleteButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) AutoDeleteButton.Text = "Auto Del (On)" _G.AutoDelete = true spawn(autoDeleteLoop) else AutoDeleteButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) AutoDeleteButton.Text = "Auto Del (Off)" _G.AutoDelete = false end end) FloatButton.MouseButton1Up:Connect(function() if not _G.IsFloating then FloatButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) FloatButton.Text = "Float (On)" _G.IsFloating = true enableFloat() else FloatButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) FloatButton.Text = "Float (Off)" _G.IsFloating = false disableFloat() end end) SafeModeButton.MouseButton1Up:Connect(function() if not _G.SafeMode then SafeModeButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) SafeModeButton.Text = "Safe Mode (On)" _G.SafeMode = true EnableSafeMode() spawn(safeModeKillLoop) if _G.CanTouchEnabled then _G.CanTouchEnabled = false setCanTouch(false) CanTouchButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) CanTouchButton.Text = "CanTouch (Off)" end else SafeModeButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) SafeModeButton.Text = "Safe Mode (Off)" _G.SafeMode = false DisableSafeMode() end end) NextPageButton.MouseButton1Up:Connect(function() Frame2.Visible = false Frame3.Visible = true SettingsFrame.Visible = false end) BackButton.MouseButton1Up:Connect(function() Frame3.Visible = false Frame2.Visible = true SettingsFrame.Visible = false end) AutoOpenButton.MouseButton1Up:Connect(function() if not _G.AutoOpen then AutoOpenButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) AutoOpenButton.Text = "Auto Open (On)" _G.AutoOpen = true spawn(autoOpenLoop) else AutoOpenButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) AutoOpenButton.Text = "Auto Open (Off)" _G.AutoOpen = false end end) KillAllNPCsButton.MouseButton1Up:Connect(function() killNPCs() end) CanTouchButton.MouseButton1Up:Connect(function() if _G.CanTouchEnabled then CanTouchButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) CanTouchButton.Text = "CanTouch (Off)" _G.CanTouchEnabled = false setCanTouch(false) else CanTouchButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) CanTouchButton.Text = "CanTouch (On)" _G.CanTouchEnabled = true setCanTouch(true) end end) GrabToolsButton.MouseButton1Up:Connect(function() if not _G.GrabTools then _G.GrabTools = true GrabToolsButton.BackgroundColor3 = Color3.fromRGB(40, 160, 40) GrabToolsButton.Text = "Grab Tools (On)" local player = Players.LocalPlayer local character = player.Character local humanoid = character and character:FindFirstChild("Humanoid") local chestsFolder = workspace:FindFirstChild("chests") or workspace:FindFirstChild("Chests") if humanoid and chestsFolder then for _, child in ipairs(chestsFolder:GetChildren()) do if child:IsA("BackpackItem") and child:FindFirstChild("Handle") then humanoid:EquipTool(child) end end if GrabToolsConnection then GrabToolsConnection:Disconnect() end GrabToolsConnection = chestsFolder.ChildAdded:Connect(function(child) local char = Players.LocalPlayer.Character local hum = char and char:FindFirstChild("Humanoid") if hum and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then hum:EquipTool(child) end end) end else _G.GrabTools = false GrabToolsButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) GrabToolsButton.Text = "Grab Tools (Off)" if GrabToolsConnection then GrabToolsConnection:Disconnect() GrabToolsConnection = nil end end end) game.Players.LocalPlayer.CharacterAdded:Connect(function(character) wait(1) if _G.IsFloating then enableFloat() end if _G.SafeMode then EnableSafeMode() end setCanTouch(_G.CanTouchEnabled) end) if game.Players.LocalPlayer.Character then wait(1) if _G.IsFloating then enableFloat() end if _G.SafeMode then EnableSafeMode() end setCanTouch(_G.CanTouchEnabled) end -- antiafk local VirtualUser = game:GetService("VirtualUser") Players.LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end)