-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- LocalScript: StarterPlayer > StarterPlayerScripts local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local TeleportService = game:GetService("TeleportService") local RunService = game:GetService("RunService") local HttpService = game:GetService("HttpService") local Lighting = game:GetService("Lighting") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer -------------------------------------------------- -- GUI CREATION -------------------------------------------------- local gui = Instance.new("ScreenGui") gui.Name = "ServerUtilityMenuUI" gui.ResetOnSpawn = false gui.Parent = CoreGui:FindFirstChild("RobloxGui") or player:WaitForChild("PlayerGui") local main = Instance.new("Frame") main.Size = UDim2.new(0, 380, 0, 475) main.Position = UDim2.new(0.5, -190, 0.5, -237.5) main.BackgroundColor3 = Color3.fromRGB(12, 15, 13) main.BorderSizePixel = 0 main.ClipsDescendants = false -- Wichtig, damit die Tooltip-Blase außerhalb des Fensters erscheinen kann main.Parent = gui -- Opening Animation main.Size = UDim2.new(0, 0, 0, 0) main.Position = UDim2.new(0.5, 0, 0.5, 0) TweenService:Create(main, TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = UDim2.new(0, 380, 0, 475), Position = UDim2.new(0.5, -190, 0.5, -237.5) }):Play() local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 16) mainCorner.Parent = main -- Modern Tech-Blue/Cyan border glow matching the utility vibe local mainStroke = Instance.new("UIStroke") mainStroke.Color = Color3.fromRGB(0, 180, 255) mainStroke.Thickness = 1.5 mainStroke.Transparency = 0.2 mainStroke.Parent = main -------------------------------------------------- -- TOOLTIP / INFO BUBBLE SYSTEM -------------------------------------------------- local tooltip = Instance.new("Frame") tooltip.Size = UDim2.new(0, 190, 0, 36) tooltip.Position = UDim2.new(1, 12, 0, 0) tooltip.BackgroundColor3 = Color3.fromRGB(18, 24, 30) tooltip.BorderSizePixel = 0 tooltip.Visible = false tooltip.Parent = main local tooltipCorner = Instance.new("UICorner") tooltipCorner.CornerRadius = UDim.new(0, 8) tooltipCorner.Parent = tooltip local tooltipStroke = Instance.new("UIStroke") tooltipStroke.Color = Color3.fromRGB(0, 180, 255) tooltipStroke.Thickness = 1 tooltipStroke.Transparency = 0.4 tooltipStroke.Parent = tooltip local tooltipText = Instance.new("TextLabel") tooltipText.Size = UDim2.new(1, -16, 1, 0) tooltipText.Position = UDim2.new(0, 8, 0, 0) tooltipText.BackgroundTransparency = 1 tooltipText.Font = Enum.Font.GothamMedium tooltipText.TextSize = 10 tooltipText.TextColor3 = Color3.fromRGB(210, 225, 235) tooltipText.TextWrapped = true tooltipText.TextXAlignment = Enum.TextXAlignment.Left tooltipText.Parent = tooltip local function showTooltip(btn, description) btn.MouseEnter:Connect(function() tooltipText.Text = description tooltip.Position = UDim2.new(1, 12, 0, btn.Position.Y.Offset) tooltip.Visible = true tooltip.Size = UDim2.new(0, 0, 0, 0) tooltip.BackgroundTransparency = 1 tooltipText.TextTransparency = 1 tooltipStroke.Transparency = 1 TweenService:Create(tooltip, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = UDim2.new(0, 190, 0, 36), BackgroundTransparency = 0 }):Play() TweenService:Create(tooltipText, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() TweenService:Create(tooltipStroke, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Transparency = 0.4 }):Play() end) btn.MouseLeave:Connect(function() local outTween = TweenService:Create(tooltip, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { Size = UDim2.new(0, 0, 0, 0), BackgroundTransparency = 1 }) TweenService:Create(tooltipText, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { TextTransparency = 1 }):Play() TweenService:Create(tooltipStroke, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { Transparency = 1 }):Play() outTween:Play() outTween.Completed:Connect(function() if tooltip.Size.X.Offset == 0 then tooltip.Visible = false end end) end) end -------------------------------------------------- -- HEADER -------------------------------------------------- local header = Instance.new("TextButton") header.Size = UDim2.new(1, 0, 0, 42) header.BackgroundColor3 = Color3.fromRGB(16, 21, 24) header.BorderSizePixel = 0 header.AutoButtonColor = false header.Text = "" header.Parent = main local headerCorner = Instance.new("UICorner") headerCorner.CornerRadius = UDim.new(0, 16) headerCorner.Parent = header local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -20, 1, 0) title.Position = UDim2.new(0, 15, 0, 0) title.BackgroundTransparency = 1 title.Text = "SERVER UTILITY" title.RichText = true title.Font = Enum.Font.GothamBold title.TextSize = 13 title.TextColor3 = Color3.new(1, 1, 1) title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = header local credit = Instance.new("TextLabel") credit.Size = UDim2.new(1, -20, 0, 14) credit.Position = UDim2.new(0, 15, 1, -22) credit.BackgroundTransparency = 1 credit.Text = "Made by veryvare" credit.Font = Enum.Font.GothamMedium credit.TextSize = 10 credit.TextColor3 = Color3.fromRGB(90, 120, 135) credit.TextXAlignment = Enum.TextXAlignment.Left credit.Parent = main -- Dragging functionality local dragging, dragStart, startPosition header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPosition = main.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart main.Position = UDim2.new(startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) -------------------------------------------------- -- CONTENT CONTAINER -------------------------------------------------- local contentContainer = Instance.new("Frame") contentContainer.Size = UDim2.new(1, 0, 1, -42) contentContainer.Position = UDim2.new(0, 0, 0, 42) contentContainer.BackgroundTransparency = 1 contentContainer.Parent = main -------------------------------------------------- -- STATS DISPLAY BOX (FPS, PING, PLAYERS) -------------------------------------------------- local statsFrame = Instance.new("Frame") statsFrame.Size = UDim2.new(1, -30, 0, 50) statsFrame.Position = UDim2.new(0, 15, 0, 12) statsFrame.BackgroundColor3 = Color3.fromRGB(16, 20, 24) statsFrame.Parent = contentContainer local statsCorner = Instance.new("UICorner") statsCorner.CornerRadius = UDim.new(0, 12) statsCorner.Parent = statsFrame local statsStroke = Instance.new("UIStroke") statsStroke.Color = Color3.fromRGB(25, 40, 50) statsStroke.Thickness = 1 statsStroke.Parent = statsFrame local fpsLabel = Instance.new("TextLabel") fpsLabel.Size = UDim2.new(0.33, 0, 1, 0) fpsLabel.BackgroundTransparency = 1 fpsLabel.Text = "FPS: --" fpsLabel.Font = Enum.Font.GothamBold fpsLabel.TextSize = 11 fpsLabel.TextColor3 = Color3.fromRGB(0, 180, 255) fpsLabel.Parent = statsFrame local pingLabel = Instance.new("TextLabel") pingLabel.Size = UDim2.new(0.33, 0, 1, 0) pingLabel.Position = UDim2.new(0.33, 0, 0, 0) pingLabel.BackgroundTransparency = 1 pingLabel.Text = "PING: --ms" pingLabel.Font = Enum.Font.GothamBold pingLabel.TextSize = 11 pingLabel.TextColor3 = Color3.fromRGB(200, 215, 225) pingLabel.Parent = statsFrame local playersLabel = Instance.new("TextLabel") playersLabel.Size = UDim2.new(0.33, 0, 1, 0) playersLabel.Position = UDim2.new(0.66, 0, 0, 0) playersLabel.BackgroundTransparency = 1 playersLabel.Text = "PLAYERS: --" playersLabel.Font = Enum.Font.GothamBold playersLabel.TextSize = 11 playersLabel.TextColor3 = Color3.fromRGB(200, 215, 225) playersLabel.Parent = statsFrame -- Live Stats Updater Loop local frameCount = 0 local lastUpdate = tick() RunService.RenderStepped:Connect(function() frameCount = frameCount + 1 local now = tick() if now - lastUpdate >= 1 then fpsLabel.Text = "FPS: " .. tostring(math.floor(frameCount / (now - lastUpdate))) frameCount = 0 lastUpdate = now local ping = math.floor(player:GetNetworkPing() * 1000) pingLabel.Text = "PING: " .. tostring(ping) .. "ms" playersLabel.Text = "PLAYERS: " .. tostring(#Players:GetPlayers()) end end) -------------------------------------------------- -- BUTTON ANIMATION HELPER -------------------------------------------------- local function setupButtonAnimations(btn) local defaultSize = btn.Size local hoverSize = UDim2.new(defaultSize.X.Scale, defaultSize.X.Offset + 4, defaultSize.Y.Scale, defaultSize.Y.Offset + 2) btn.MouseEnter:Connect(function() TweenService:Create(btn, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = hoverSize }):Play() end) btn.MouseLeave:Connect(function() TweenService:Create(btn, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = defaultSize }):Play() end) btn.MouseButton1Down:Connect(function() TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = UDim2.new(defaultSize.X.Scale, defaultSize.X.Offset - 4, defaultSize.Y.Scale, defaultSize.Y.Offset - 2) }):Play() end) btn.MouseButton1Up:Connect(function() TweenService:Create(btn, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = hoverSize }):Play() end) end -------------------------------------------------- -- UTILITY BUTTONS -------------------------------------------------- -- REJOIN BUTTON local rejoinBtn = Instance.new("TextButton") rejoinBtn.Size = UDim2.new(1, -30, 0, 32) rejoinBtn.Position = UDim2.new(0, 15, 0, 72) rejoinBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) rejoinBtn.Text = "REJOIN SERVER" rejoinBtn.Font = Enum.Font.GothamBold rejoinBtn.TextSize = 11 rejoinBtn.TextColor3 = Color3.fromRGB(0, 180, 255) rejoinBtn.Parent = contentContainer local rejoinCorner = Instance.new("UICorner") rejoinCorner.CornerRadius = UDim.new(0, 10) rejoinCorner.Parent = rejoinBtn local rejoinStroke = Instance.new("UIStroke") rejoinStroke.Color = Color3.fromRGB(0, 120, 180) rejoinStroke.Thickness = 1 rejoinStroke.Transparency = 0.5 rejoinStroke.Parent = rejoinBtn setupButtonAnimations(rejoinBtn) showTooltip(rejoinBtn, "Instantly reconnects you to the exact same game server.") rejoinBtn.MouseButton1Click:Connect(function() TweenService:Create(rejoinBtn, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(0, 180, 255) }):Play() TweenService:Create(rejoinBtn, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundColor3 = Color3.fromRGB(16, 22, 28), TextColor3 = Color3.fromRGB(255, 255, 255) }):Play() if #Players:GetPlayers() <= 1 then player:Kick("\nRejoining...") task.wait(0.5) TeleportService:Teleport(game.PlaceId, player) else TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, player) end end) -- SERVER HOP BUTTON local hopBtn = Instance.new("TextButton") hopBtn.Size = UDim2.new(1, -30, 0, 32) hopBtn.Position = UDim2.new(0, 15, 0, 112) hopBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) hopBtn.Text = "SERVER HOP (FIND NEW SERVER)" hopBtn.Font = Enum.Font.GothamBold hopBtn.TextSize = 11 hopBtn.TextColor3 = Color3.fromRGB(0, 220, 130) hopBtn.Parent = contentContainer local hopCorner = Instance.new("UICorner") hopCorner.CornerRadius = UDim.new(0, 10) hopCorner.Parent = hopBtn local hopStroke = Instance.new("UIStroke") hopStroke.Color = Color3.fromRGB(0, 150, 90) hopStroke.Thickness = 1 hopStroke.Transparency = 0.5 hopStroke.Parent = hopBtn setupButtonAnimations(hopBtn) showTooltip(hopBtn, "Automatically searches and joins a different public server.") hopBtn.MouseButton1Click:Connect(function() TweenService:Create(hopBtn, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(0, 220, 130) }):Play() TweenService:Create(hopBtn, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundColor3 = Color3.fromRGB(16, 22, 28), TextColor3 = Color3.fromRGB(255, 255, 255) }):Play() local success, servers = pcall(function() local url = "https://games.roblox.com/v1/games/" .. tostring(game.PlaceId) .. "/servers/Public?sortOrder=Asc&limit=100" return HttpService:JSONDecode(game:HttpGet(url)) end) if success and servers and servers.data then for _, s in ipairs(servers.data) do if s.id ~= game.JobId and s.playing < s.maxPlayers then TeleportService:TeleportToPlaceInstance(game.PlaceId, s.id, player) break end end end end) -- SNIPE FULL SERVER BUTTON (Fastest/Almost Full Server) local snipeBtn = Instance.new("TextButton") snipeBtn.Size = UDim2.new(1, -30, 0, 32) snipeBtn.Position = UDim2.new(0, 15, 0, 152) snipeBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) snipeBtn.Text = "JOIN ALMOST FULL SERVER" snipeBtn.Font = Enum.Font.GothamBold snipeBtn.TextSize = 11 snipeBtn.TextColor3 = Color3.fromRGB(255, 100, 150) snipeBtn.Parent = contentContainer local snipeCorner = Instance.new("UICorner") snipeCorner.CornerRadius = UDim.new(0, 10) snipeCorner.Parent = snipeBtn local snipeStroke = Instance.new("UIStroke") snipeStroke.Color = Color3.fromRGB(180, 50, 100) snipeStroke.Thickness = 1 snipeStroke.Transparency = 0.5 snipeStroke.Parent = snipeBtn setupButtonAnimations(snipeBtn) showTooltip(snipeBtn, "Finds and joins a server with the highest active player count.") snipeBtn.MouseButton1Click:Connect(function() TweenService:Create(snipeBtn, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(255, 100, 150) }):Play() TweenService:Create(snipeBtn, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundColor3 = Color3.fromRGB(16, 22, 28), TextColor3 = Color3.fromRGB(255, 255, 255) }):Play() local success, servers = pcall(function() local url = "https://games.roblox.com/v1/games/" .. tostring(game.PlaceId) .. "/servers/Public?sortOrder=Desc&limit=100" return HttpService:JSONDecode(game:HttpGet(url)) end) if success and servers and servers.data then local bestServer = nil for _, s in ipairs(servers.data) do if s.id ~= game.JobId and s.playing < s.maxPlayers then if not bestServer or s.playing > bestServer.playing then bestServer = s end end end if bestServer then snipeBtn.Text = "JOINING (" .. tostring(bestServer.playing) .. "/" .. tostring(bestServer.maxPlayers) .. ")..." TeleportService:TeleportToPlaceInstance(game.PlaceId, bestServer.id, player) else snipeBtn.Text = "NO SERVER FOUND" task.delay(1.5, function() snipeBtn.Text = "JOIN ALMOST FULL SERVER" end) end end end) -- LOW GRAPHICS / PERFORMANCE MODE BUTTON local lowGraphicsActive = false local gfxBtn = Instance.new("TextButton") gfxBtn.Size = UDim2.new(1, -30, 0, 32) gfxBtn.Position = UDim2.new(0, 15, 0, 192) gfxBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) gfxBtn.Text = "PERFORMANCE MODE: OFF" gfxBtn.Font = Enum.Font.GothamBold gfxBtn.TextSize = 11 gfxBtn.TextColor3 = Color3.fromRGB(50, 200, 255) gfxBtn.Parent = contentContainer local gfxCorner = Instance.new("UICorner") gfxCorner.CornerRadius = UDim.new(0, 10) gfxCorner.Parent = gfxBtn local gfxStroke = Instance.new("UIStroke") gfxStroke.Color = Color3.fromRGB(30, 120, 160) gfxStroke.Thickness = 1 gfxStroke.Transparency = 0.5 gfxStroke.Parent = gfxBtn setupButtonAnimations(gfxBtn) showTooltip(gfxBtn, "Lowers graphics, disables shadows and particles to boost your FPS.") gfxBtn.MouseButton1Click:Connect(function() lowGraphicsActive = not lowGraphicsActive if lowGraphicsActive then gfxBtn.Text = "PERFORMANCE MODE: ON" Lighting.GlobalShadows = false Lighting.Brightness = 2 settings().Rendering.QualityLevel = Enum.QualityLevel.Level01 for _, v in ipairs(Workspace:GetDescendants()) do if v:IsA("BasePart") then v.Material = Enum.Material.SmoothPlastic v.Reflectance = 0 elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then v.Enabled = false end end else gfxBtn.Text = "PERFORMANCE MODE: OFF" Lighting.GlobalShadows = true settings().Rendering.QualityLevel = Enum.QualityLevel.Automatic end end) -- COPY JOB ID BUTTON local copyBtn = Instance.new("TextButton") copyBtn.Size = UDim2.new(1, -30, 0, 32) copyBtn.Position = UDim2.new(0, 15, 0, 232) copyBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) copyBtn.Text = "COPY JOB ID" copyBtn.Font = Enum.Font.GothamBold copyBtn.TextSize = 11 copyBtn.TextColor3 = Color3.fromRGB(220, 180, 255) copyBtn.Parent = contentContainer local copyCorner = Instance.new("UICorner") copyCorner.CornerRadius = UDim.new(0, 10) copyCorner.Parent = copyBtn local copyStroke = Instance.new("UIStroke") copyStroke.Color = Color3.fromRGB(140, 90, 180) copyStroke.Thickness = 1 copyStroke.Transparency = 0.5 copyStroke.Parent = copyBtn setupButtonAnimations(copyBtn) showTooltip(copyBtn, "Copies your current server's unique ID to your clipboard.") copyBtn.MouseButton1Click:Connect(function() TweenService:Create(copyBtn, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(180, 130, 255) }):Play() TweenService:Create(copyBtn, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundColor3 = Color3.fromRGB(16, 22, 28), TextColor3 = Color3.fromRGB(255, 255, 255) }):Play() if setclipboard then setclipboard(game.JobId) copyBtn.Text = "COPIED JOB ID!" task.delay(1.5, function() copyBtn.Text = "COPY JOB ID" end) else copyBtn.Text = "NOT SUPPORTED" task.delay(1.5, function() copyBtn.Text = "COPY JOB ID" end) end end) -- FPS UNLOCKER BUTTON local fpsUnlocked = false local fpsBtn = Instance.new("TextButton") fpsBtn.Size = UDim2.new(1, -30, 0, 32) fpsBtn.Position = UDim2.new(0, 15, 0, 272) fpsBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) fpsBtn.Text = "FPS UNLOCKER: OFF" fpsBtn.Font = Enum.Font.GothamBold fpsBtn.TextSize = 11 fpsBtn.TextColor3 = Color3.fromRGB(255, 200, 0) fpsBtn.Parent = contentContainer local fpsCorner = Instance.new("UICorner") fpsCorner.CornerRadius = UDim.new(0, 10) fpsCorner.Parent = fpsBtn local fpsStroke = Instance.new("UIStroke") fpsStroke.Color = Color3.fromRGB(180, 140, 0) fpsStroke.Thickness = 1 fpsStroke.Transparency = 0.5 fpsStroke.Parent = fpsBtn setupButtonAnimations(fpsBtn) showTooltip(fpsBtn, "Removes the default 60 FPS limit for smoother gameplay.") fpsBtn.MouseButton1Click:Connect(function() fpsUnlocked = not fpsUnlocked if fpsUnlocked then fpsBtn.Text = "FPS UNLOCKER: UNLIMITED" if setfpscap then setfpscap(9999) end else fpsBtn.Text = "FPS UNLOCKER: OFF" if setfpscap then setfpscap(60) end end end) -- ANTI-AFK TOGGLE BUTTON local antiAfkActive = false local antiAfkConnection = nil local afkBtn = Instance.new("TextButton") afkBtn.Size = UDim2.new(1, -30, 0, 32) afkBtn.Position = UDim2.new(0, 15, 0, 312) afkBtn.BackgroundColor3 = Color3.fromRGB(16, 22, 28) afkBtn.Text = "ANTI-AFK: OFF" afkBtn.Font = Enum.Font.GothamBold afkBtn.TextSize = 11 afkBtn.TextColor3 = Color3.fromRGB(255, 130, 50) afkBtn.Parent = contentContainer local afkCorner = Instance.new("UICorner") afkCorner.CornerRadius = UDim.new(0, 10) afkCorner.Parent = afkBtn local afkStroke = Instance.new("UIStroke") afkStroke.Color = Color3.fromRGB(180, 80, 20) afkStroke.Thickness = 1 afkStroke.Transparency = 0.5 afkStroke.Parent = afkBtn setupButtonAnimations(afkBtn) showTooltip(afkBtn, "Prevents you from getting kicked due to being inactive / AFK.") afkBtn.MouseButton1Click:Connect(function() antiAfkActive = not antiAfkActive if antiAfkActive then afkBtn.Text = "ANTI-AFK: ON" local vu = game:GetService("VirtualUser") antiAfkConnection = player.Idled:Connect(function() vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) task.wait(1) vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame) end) else afkBtn.Text = "ANTI-AFK: OFF" if antiAfkConnection then antiAfkConnection:Disconnect() antiAfkConnection = nil end end end) -- UNLOAD BUTTON local unloadBtn = Instance.new("TextButton") unloadBtn.Size = UDim2.new(1, -30, 0, 32) unloadBtn.Position = UDim2.new(0, 15, 0, 364) unloadBtn.BackgroundColor3 = Color3.fromRGB(28, 16, 18) unloadBtn.Text = "UNLOAD MENU" unloadBtn.Font = Enum.Font.GothamBold unloadBtn.TextSize, unloadBtn.TextColor3 = 11, Color3.fromRGB(255, 70, 70) unloadBtn.Parent = contentContainer local unloadCorner = Instance.new("UICorner") unloadCorner.CornerRadius = UDim.new(0, 10) unloadCorner.Parent = unloadBtn local unloadStroke = Instance.new("UIStroke") unloadStroke.Color = Color3.fromRGB(150, 50, 50) unloadStroke.Thickness = 1 unloadStroke.Transparency = 0.5 unloadStroke.Parent = unloadBtn setupButtonAnimations(unloadBtn) showTooltip(unloadBtn, "Closes and completely removes the utility menu interface.") unloadBtn.MouseButton1Click:Connect(function() TweenService:Create(unloadBtn, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(255, 70, 70) }):Play() TweenService:Create(unloadBtn, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundColor3 = Color3.fromRGB(28, 16, 18), TextColor3 = Color3.fromRGB(255, 255, 255) }):Play() if antiAfkConnection then antiAfkConnection:Disconnect() end local closeTween = TweenService:Create(main, TweenInfo.new(0.3, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { Size = UDim2.new(0, 0, 0, 0), Position = UDim2.new(0.5, 0, 0.5, 0) }) closeTween:Play() closeTween.Completed:Wait() gui:Destroy() end)