-- Asylum Life Enhanced Script by Grok (Final Version - TP Escape, Auto Apple, Hitbox with Adjuster, Auto Walk Mop, + ESP) -- Features: Mobile-friendly, anti-detection basic, refined UI, Hitbox Size Adjuster, Added ESP for players -- Final Adjustment: Added ESP (Player Highlight) toggle for better visibility in the asylum. Highlights all other players with a box. local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") local Mouse = LocalPlayer:GetMouse() -- Configs getgenv().TPToEscape = false getgenv().AutoApple = false getgenv().HitboxSize = 15 -- Tamanho inicial do hitbox (ajustável via GUI) getgenv().AutoMop = false getgenv().WalkSpeed = 16 -- Velocidade de "caminhada" pro mop getgenv().ESPEnabled = false -- Novo: Config para ESP -- GUI Refinada com Ajustador de Hitbox e ESP local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local UICornerFrame = Instance.new("UICorner") local Title = Instance.new("TextLabel") local TPEscapeBtn = Instance.new("TextButton") local UICornerTP = Instance.new("UICorner") local AutoAppleBtn = Instance.new("TextButton") local UICornerApple = Instance.new("UICorner") local HitboxBtn = Instance.new("TextButton") local UICornerHitbox = Instance.new("UICorner") local HitboxAdjuster = Instance.new("TextBox") local UICornerAdjuster = Instance.new("UICorner") local ApplyHitboxBtn = Instance.new("TextButton") local UICornerApply = Instance.new("UICorner") local AutoMopBtn = Instance.new("TextButton") local UICornerMop = Instance.new("UICorner") local ESPBtn = Instance.new("TextButton") -- Novo: Botão para ESP local UICornerESP = Instance.new("UICorner") local CloseBtn = Instance.new("TextButton") local UICornerClose = Instance.new("UICorner") ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") ScreenGui.Name = "AsylumLifeGUI" Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.Position = UDim2.new(0.05, 0, 0.05, 0) Frame.Size = UDim2.new(0, 250, 0, 315) -- Aumentado para caber o ESP Frame.Active = true Frame.Draggable = true Frame.BorderSizePixel = 0 UICornerFrame.CornerRadius = UDim.new(0, 12) UICornerFrame.Parent = Frame Title.Parent = Frame Title.BackgroundTransparency = 1 Title.Size = UDim2.new(1, 0, 0, 40) Title.Font = Enum.Font.GothamBold Title.Text = "Asylum Life Enhanced by Grok" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 18 Title.TextWrapped = true -- Botão TP Escape TPEscapeBtn.Parent = Frame TPEscapeBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 0) TPEscapeBtn.Position = UDim2.new(0, 15, 0, 50) TPEscapeBtn.Size = UDim2.new(1, -30, 0, 35) TPEscapeBtn.Font = Enum.Font.Gotham TPEscapeBtn.Text = "TP to Escape (Walk Mode)" TPEscapeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) TPEscapeBtn.TextSize = 15 TPEscapeBtn.TextWrapped = true UICornerTP.CornerRadius = UDim.new(0, 8) UICornerTP.Parent = TPEscapeBtn TPEscapeBtn.MouseButton1Click:Connect(function() getgenv().TPToEscape = true local escapePos = CFrame.new(-500, 5, -300) -- Ajuste coords se preciso local tweenInfo = TweenInfo.new(5, Enum.EasingStyle.Linear) local tween = TweenService:Create(HumanoidRootPart, tweenInfo, {CFrame = escapePos}) tween:Play() tween.Completed:Connect(function() getgenv().TPToEscape = false print("Escape alcançado!") end) end) -- Botão Auto Apple AutoAppleBtn.Parent = Frame AutoAppleBtn.BackgroundColor3 = Color3.fromRGB(200, 100, 0) AutoAppleBtn.Position = UDim2.new(0, 15, 0, 95) AutoAppleBtn.Size = UDim2.new(1, -30, 0, 35) AutoAppleBtn.Font = Enum.Font.Gotham AutoAppleBtn.Text = "Toggle Auto Apple Minigame" AutoAppleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) AutoAppleBtn.TextSize = 15 AutoAppleBtn.TextWrapped = true UICornerApple.CornerRadius = UDim.new(0, 8) UICornerApple.Parent = AutoAppleBtn AutoAppleBtn.MouseButton1Click:Connect(function() getgenv().AutoApple = not getgenv().AutoApple AutoAppleBtn.Text = getgenv().AutoApple and "Auto Apple: ON" or "Toggle Auto Apple Minigame" end) -- Botão Hitbox Toggle HitboxBtn.Parent = Frame HitboxBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 200) HitboxBtn.Position = UDim2.new(0, 15, 0, 140) HitboxBtn.Size = UDim2.new(1, -30, 0, 35) HitboxBtn.Font = Enum.Font.Gotham HitboxBtn.Text = "Toggle Hitbox Expander" HitboxBtn.TextColor3 = Color3.fromRGB(255, 255, 255) HitboxBtn.TextSize = 15 HitboxBtn.TextWrapped = true UICornerHitbox.CornerRadius = UDim.new(0, 8) UICornerHitbox.Parent = HitboxBtn local hitboxEnabled = false HitboxBtn.MouseButton1Click:Connect(function() hitboxEnabled = not hitboxEnabled HitboxBtn.Text = hitboxEnabled and "Hitbox: ON" or "Toggle Hitbox Expander" if hitboxEnabled then ApplyHitboxSize() else ResetHitboxSize() end end) -- TextBox para ajustar Hitbox Size HitboxAdjuster.Parent = Frame HitboxAdjuster.BackgroundColor3 = Color3.fromRGB(50, 50, 50) HitboxAdjuster.Position = UDim2.new(0, 15, 0, 185) HitboxAdjuster.Size = UDim2.new(0.6, -20, 0, 35) HitboxAdjuster.Font = Enum.Font.Gotham HitboxAdjuster.Text = tostring(getgenv().HitboxSize) HitboxAdjuster.TextColor3 = Color3.fromRGB(255, 255, 255) HitboxAdjuster.TextSize = 15 HitboxAdjuster.PlaceholderText = "Hitbox Size" UICornerAdjuster.CornerRadius = UDim.new(0, 8) UICornerAdjuster.Parent = HitboxAdjuster -- Botão Apply para Hitbox ApplyHitboxBtn.Parent = Frame ApplyHitboxBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) ApplyHitboxBtn.Position = UDim2.new(0.6, 0, 0, 185) ApplyHitboxBtn.Size = UDim2.new(0.4, -10, 0, 35) ApplyHitboxBtn.Font = Enum.Font.Gotham ApplyHitboxBtn.Text = "Apply" ApplyHitboxBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ApplyHitboxBtn.TextSize = 15 UICornerApply.CornerRadius = UDim.new(0, 8) UICornerApply.Parent = ApplyHitboxBtn ApplyHitboxBtn.MouseButton1Click:Connect(function() local newSize = tonumber(HitboxAdjuster.Text) if newSize and newSize > 0 then getgenv().HitboxSize = newSize if hitboxEnabled then ApplyHitboxSize() end print("Hitbox size ajustado para: " .. newSize) else print("Valor inválido! Use um número positivo.") end end) -- Novo: Botão ESP Toggle ESPBtn.Parent = Frame ESPBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 200) ESPBtn.Position = UDim2.new(0, 15, 0, 230) ESPBtn.Size = UDim2.new(1, -30, 0, 35) ESPBtn.Font = Enum.Font.Gotham ESPBtn.Text = "Toggle ESP (Player Highlight)" ESPBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ESPBtn.TextSize = 15 ESPBtn.TextWrapped = true UICornerESP.CornerRadius = UDim.new(0, 8) UICornerESP.Parent = ESPBtn ESPBtn.MouseButton1Click:Connect(function() getgenv().ESPEnabled = not getgenv().ESPEnabled ESPBtn.Text = getgenv().ESPEnabled and "ESP: ON" or "Toggle ESP (Player Highlight)" end) -- Botão Auto Mop AutoMopBtn.Parent = Frame AutoMopBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 200) AutoMopBtn.Position = UDim2.new(0, 15, 0, 275) AutoMopBtn.Size = UDim2.new(1, -30, 0, 35) AutoMopBtn.Font = Enum.Font.Gotham AutoMopBtn.Text = "Toggle Auto Mop (Walk)" AutoMopBtn.TextColor3 = Color3.fromRGB(255, 255, 255) AutoMopBtn.TextSize = 15 AutoMopBtn.TextWrapped = true UICornerMop.CornerRadius = UDim.new(0, 8) UICornerMop.Parent = AutoMopBtn AutoMopBtn.MouseButton1Click:Connect(function() getgenv().AutoMop = not getgenv().AutoMop AutoMopBtn.Text = getgenv().AutoMop and "Auto Mop: ON" or "Toggle Auto Mop (Walk)" end) -- Botão Close CloseBtn.Parent = Frame CloseBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) CloseBtn.Position = UDim2.new(1, -35, 0, 5) CloseBtn.Size = UDim2.new(0, 30, 0, 30) CloseBtn.Font = Enum.Font.GothamBold CloseBtn.Text = "X" CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CloseBtn.TextSize = 18 UICornerClose.CornerRadius = UDim.new(0, 8) UICornerClose.Parent = CloseBtn CloseBtn.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- Funções para Hitbox function ApplyHitboxSize() for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.Size = Vector3.new(getgenv().HitboxSize, getgenv().HitboxSize, getgenv().HitboxSize) part.Transparency = 0.7 part.BrickColor = BrickColor.new("Bright red") part.CanCollide = false end end end end end function ResetHitboxSize() for _, player in pairs(Players:GetPlayers()) do if player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") then part.Size = Vector3.new(2, 1, 1) -- Reset padrão part.Transparency = 0 part.CanCollide = true end end end end end -- Novo: Função para ESP (desenha boxes nos players) local ESPBoxes = {} function UpdateESP() for _, box in pairs(ESPBoxes) do box:Destroy() end ESPBoxes = {} if getgenv().ESPEnabled then for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local box = Instance.new("BoxHandleAdornment") box.Name = "ESPBox" box.Parent = player.Character box.Adornee = player.Character box.AlwaysOnTop = true box.ZIndex = 0 box.Size = player.Character:GetExtentsSize() + Vector3.new(1, 1, 1) box.Transparency = 0.5 box.Color3 = Color3.fromRGB(0, 255, 0) -- Verde para highlight table.insert(ESPBoxes, box) end end end end -- Loops RunService.Heartbeat:Connect(function() if getgenv().AutoApple then local appleGui = LocalPlayer.PlayerGui:FindFirstChild("AppleMinigame") if appleGui then for _, btn in pairs(appleGui:GetDescendants()) do if btn:IsA("TextButton") or btn:IsA("ImageButton") then firesignal(btn.MouseButton1Click) end end wait(0.1) end end if getgenv().AutoMop then local spills = workspace:FindFirstChild("Spills") if spills then for _, spill in pairs(spills:GetChildren()) do if spill:IsA("Part") and spill.Name == "Spill" then local distance = (HumanoidRootPart.Position - spill.Position).Magnitude if distance < 50 then local mopTool = Character:FindFirstChild("Mop") if not mopTool then ReplicatedStorage.Remotes.EquipTool:FireServer("Mop") end local tweenInfo = TweenInfo.new(distance / getgenv().WalkSpeed, Enum.EasingStyle.Linear) local tween = TweenService:Create(HumanoidRootPart, tweenInfo, {CFrame = spill.CFrame + Vector3.new(0, 0, 3)}) tween:Play() tween.Completed:Connect(function() firesignal(Mouse.Button1Down) wait(1) firesignal(Mouse.Button1Up) spill:Destroy() end break end end end end end -- Atualiza ESP a cada frame UpdateESP() end) LocalPlayer.CharacterAdded:Connect(function(newChar) Character = newChar HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") end) -- Listener para novos players (atualiza ESP) Players.PlayerAdded:Connect(UpdateESP) Players.PlayerRemoving:Connect(UpdateESP) print("Script finalizado! GUI com ESP adicionado aberta. Agora tá completo pra dominar o asilo. 😎")