--// SERVICES local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") --// COLORS local DARK = Color3.fromRGB(18, 14, 28) local PANEL = Color3.fromRGB(29, 22, 43) local BUTTON = Color3.fromRGB(42, 32, 60) local PURPLE = Color3.fromRGB(145, 70, 255) local HOVER = Color3.fromRGB(85, 48, 125) local GREEN = Color3.fromRGB(35, 125, 85) local WHITE = Color3.fromRGB(245, 240, 255) local GRAY = Color3.fromRGB(175, 165, 190) --// REMOVE OLD GUI local oldGui = playerGui:FindFirstChild("CoolMenu") if oldGui then oldGui:Destroy() end --// GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "CoolMenu" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 460, 0, 550) frame.Position = UDim2.new(0.5, -230, 0.5, -275) frame.BackgroundColor3 = DARK frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 16) frameCorner.Parent = frame local frameStroke = Instance.new("UIStroke") frameStroke.Color = PURPLE frameStroke.Thickness = 2 frameStroke.Parent = frame --// HEADER local header = Instance.new("Frame") header.Size = UDim2.new(1, 0, 0, 62) header.BackgroundColor3 = Color3.fromRGB(75, 35, 120) header.BorderSizePixel = 0 header.Parent = frame local headerCorner = Instance.new("UICorner") headerCorner.CornerRadius = UDim.new(0, 16) headerCorner.Parent = header local headerGradient = Instance.new("UIGradient") headerGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(135, 55, 225)), ColorSequenceKeypoint.new(1, Color3.fromRGB(45, 30, 100)) }) headerGradient.Parent = header local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -25, 0, 35) title.Position = UDim2.new(0, 16, 0, 5) title.BackgroundTransparency = 1 title.Text = "⚡ SUPER MENU" title.TextColor3 = WHITE title.Font = Enum.Font.GothamBlack title.TextSize = 25 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = header local subtitle = Instance.new("TextLabel") subtitle.Size = UDim2.new(1, -25, 0, 18) subtitle.Position = UDim2.new(0, 17, 0, 38) subtitle.BackgroundTransparency = 1 subtitle.Text = "CONTROL PANEL • LEFT ALT TO HIDE" subtitle.TextColor3 = Color3.fromRGB(220, 195, 255) subtitle.Font = Enum.Font.GothamBold subtitle.TextSize = 10 subtitle.TextXAlignment = Enum.TextXAlignment.Left subtitle.Parent = header --// SIDEBAR local sidebar = Instance.new("Frame") sidebar.Size = UDim2.new(0, 118, 1, -82) sidebar.Position = UDim2.new(0, 14, 0, 73) sidebar.BackgroundColor3 = PANEL sidebar.BorderSizePixel = 0 sidebar.Parent = frame local sidebarCorner = Instance.new("UICorner") sidebarCorner.CornerRadius = UDim.new(0, 12) sidebarCorner.Parent = sidebar local function makeButton(parent, text, position, size) local button = Instance.new("TextButton") button.Size = size button.Position = position button.BackgroundColor3 = BUTTON button.TextColor3 = WHITE button.Text = text button.TextSize = 14 button.Font = Enum.Font.GothamBold button.AutoButtonColor = false button.BorderSizePixel = 0 button.Parent = parent local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 9) corner.Parent = button local stroke = Instance.new("UIStroke") stroke.Color = PURPLE stroke.Transparency = 0.5 stroke.Thickness = 1 stroke.Parent = button button.MouseEnter:Connect(function() if not button:GetAttribute("Selected") and not button:GetAttribute("Enabled") then TweenService:Create(button, TweenInfo.new(0.15), { BackgroundColor3 = HOVER }):Play() end end) button.MouseLeave:Connect(function() if button:GetAttribute("Enabled") then return end if button:GetAttribute("Selected") then return end TweenService:Create(button, TweenInfo.new(0.15), { BackgroundColor3 = BUTTON }):Play() end) return button end --// SIDEBAR TABS local playerTab = makeButton( sidebar, "👤 Player", UDim2.new(0, 9, 0, 15), UDim2.new(1, -18, 0, 45) ) local teleportTab = makeButton( sidebar, "📍 Teleport", UDim2.new(0, 9, 0, 70), UDim2.new(1, -18, 0, 45) ) local hideButton = makeButton( sidebar, "Close Menu", UDim2.new(0, 9, 1, -55), UDim2.new(1, -18, 0, 42) ) --// CONTENT AREA local content = Instance.new("Frame") content.Size = UDim2.new(1, -148, 1, -82) content.Position = UDim2.new(0, 138, 0, 73) content.BackgroundColor3 = PANEL content.BorderSizePixel = 0 content.Parent = frame local contentCorner = Instance.new("UICorner") contentCorner.CornerRadius = UDim.new(0, 12) contentCorner.Parent = content --// PAGE CREATOR local function createPage() local page = Instance.new("Frame") page.Size = UDim2.new(1, 0, 1, 0) page.BackgroundTransparency = 1 page.Visible = false page.Parent = content return page end local playerPage = createPage() local teleportPage = createPage() local function createHeading(parent, text, positionY) local heading = Instance.new("TextLabel") heading.Size = UDim2.new(1, -24, 0, 30) heading.Position = UDim2.new(0, 13, 0, positionY) heading.BackgroundTransparency = 1 heading.Text = text heading.TextColor3 = WHITE heading.Font = Enum.Font.GothamBlack heading.TextSize = 18 heading.TextXAlignment = Enum.TextXAlignment.Left heading.Parent = parent return heading end --// PLAYER PAGE createHeading(playerPage, "PLAYER SETTINGS", 12) local speedButton = makeButton( playerPage, "⚡ Super Speed: OFF", UDim2.new(0, 14, 0, 55), UDim2.new(1, -28, 0, 42) ) local jumpButton = makeButton( playerPage, "🚀 Infinite Jump: OFF", UDim2.new(0, 14, 0, 107), UDim2.new(1, -28, 0, 42) ) local walkspeedButton = makeButton( playerPage, "🏃 Set WalkSpeed = 50", UDim2.new(0, 14, 0, 159), UDim2.new(1, -28, 0, 42) ) local jumpPowerButton = makeButton( playerPage, "⬆ Set JumpPower = 100", UDim2.new(0, 14, 0, 211), UDim2.new(1, -28, 0, 42) ) local noclipButton = makeButton( playerPage, "👻 Noclip: OFF", UDim2.new(0, 14, 0, 263), UDim2.new(1, -28, 0, 42) ) local flyButton = makeButton( playerPage, "✈ Fly: OFF", UDim2.new(0, 14, 0, 315), UDim2.new(1, -28, 0, 42) ) --// TELEPORT PAGE createHeading(teleportPage, "TELEPORT SETTINGS", 12) local teleportDescription = Instance.new("TextLabel") teleportDescription.Size = UDim2.new(1, -25, 0, 35) teleportDescription.Position = UDim2.new(0, 13, 0, 40) teleportDescription.BackgroundTransparency = 1 teleportDescription.Text = "Choose a teleport, then press E." teleportDescription.TextColor3 = GRAY teleportDescription.Font = Enum.Font.Gotham teleportDescription.TextSize = 12 teleportDescription.TextXAlignment = Enum.TextXAlignment.Left teleportDescription.Parent = teleportPage --// TELEPORT OPTIONS local selectedTeleport = "Closest Player" local teleportButtons = {} local teleportOptions = { "Closest Player", "Behind Player", "Random Player", "Teleport to Spawn", "Teleport Back" } local function selectTeleport(option) selectedTeleport = option for name, button in pairs(teleportButtons) do local selected = name == option button:SetAttribute("Selected", selected) button.BackgroundColor3 = selected and PURPLE or BUTTON end end for index, option in ipairs(teleportOptions) do local button = makeButton( teleportPage, "📍 " .. option, UDim2.new(0, 14, 0, 82 + (index - 1) * 54), UDim2.new(1, -28, 0, 44) ) teleportButtons[option] = button button.MouseButton1Click:Connect(function() selectTeleport(option) end) end selectTeleport("Closest Player") local teleportStatus = Instance.new("TextLabel") teleportStatus.Size = UDim2.new(1, -25, 0, 35) teleportStatus.Position = UDim2.new(0, 13, 0, 357) teleportStatus.BackgroundTransparency = 1 teleportStatus.Text = "Selected: Closest Player" teleportStatus.TextColor3 = Color3.fromRGB(190, 160, 255) teleportStatus.Font = Enum.Font.GothamBold teleportStatus.TextSize = 12 teleportStatus.TextXAlignment = Enum.TextXAlignment.Left teleportStatus.Parent = teleportPage local keyHint = Instance.new("TextLabel") keyHint.Size = UDim2.new(1, -25, 0, 30) keyHint.Position = UDim2.new(0, 13, 0, 395) keyHint.BackgroundTransparency = 1 keyHint.Text = "PRESS E TO TELEPORT" keyHint.TextColor3 = PURPLE keyHint.Font = Enum.Font.GothamBlack keyHint.TextSize = 13 keyHint.Parent = teleportPage --// TAB SWITCHING local function showPage(pageName) local isPlayer = pageName == "Player" playerPage.Visible = isPlayer teleportPage.Visible = not isPlayer playerTab.BackgroundColor3 = isPlayer and PURPLE or BUTTON teleportTab.BackgroundColor3 = not isPlayer and PURPLE or BUTTON playerTab:SetAttribute("Selected", isPlayer) teleportTab:SetAttribute("Selected", not isPlayer) end playerTab.MouseButton1Click:Connect(function() showPage("Player") end) teleportTab.MouseButton1Click:Connect(function() showPage("Teleport") end) showPage("Player") --// STATES local superSpeed = false local infiniteJump = false local noclip = false local flying = false local flySpeed = 50 local flyConnection local function setState(button, enabled, text) button.Text = text button:SetAttribute("Enabled", enabled) button.BackgroundColor3 = enabled and GREEN or BUTTON end --// SPEED speedButton.MouseButton1Click:Connect(function() superSpeed = not superSpeed humanoid.WalkSpeed = superSpeed and 150 or 16 setState(speedButton, superSpeed, superSpeed and "⚡ Super Speed: ON" or "⚡ Super Speed: OFF") end) --// WALK SPEED walkspeedButton.MouseButton1Click:Connect(function() humanoid.WalkSpeed = 50 end) --// JUMP POWER jumpPowerButton.MouseButton1Click:Connect(function() humanoid.JumpPower = 100 end) --// INFINITE JUMP jumpButton.MouseButton1Click:Connect(function() infiniteJump = not infiniteJump setState(jumpButton, infiniteJump, infiniteJump and "🚀 Infinite Jump: ON" or "🚀 Infinite Jump: OFF") end) UserInputService.JumpRequest:Connect(function() if infiniteJump then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) --// NOCLIP local collisionStates = {} local function setNoclip(enabled) noclip = enabled if not enabled then for part, originalValue in pairs(collisionStates) do if part and part.Parent then part.CanCollide = originalValue end end table.clear(collisionStates) end setState(noclipButton, noclip, noclip and "👻 Noclip: ON" or "👻 Noclip: OFF") end noclipButton.MouseButton1Click:Connect(function() setNoclip(not noclip) end) RunService.Stepped:Connect(function() if noclip and character then for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then if collisionStates[part] == nil then collisionStates[part] = part.CanCollide end part.CanCollide = false end end end end) --// FLY flyButton.MouseButton1Click:Connect(function() flying = not flying if flying then setState(flyButton, true, "✈ Fly: ON") flyConnection = RunService.RenderStepped:Connect(function() if not character or not humanoid then return end local rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end local camera = workspace.CurrentCamera local direction = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then direction += camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then direction -= camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then direction -= camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then direction += camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then direction += Vector3.yAxis end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then direction -= Vector3.yAxis end rootPart.AssemblyLinearVelocity = direction * flySpeed end) else setState(flyButton, false, "✈ Fly: OFF") if flyConnection then flyConnection:Disconnect() flyConnection = nil end local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart then rootPart.AssemblyLinearVelocity = Vector3.zero end end end) --// TELEPORT SYSTEM local lastPosition = nil local function getAlivePlayers() local results = {} for _, otherPlayer in ipairs(Players:GetPlayers()) do if otherPlayer ~= player and otherPlayer.Character then local otherRoot = otherPlayer.Character:FindFirstChild("HumanoidRootPart") local otherHumanoid = otherPlayer.Character:FindFirstChild("Humanoid") if otherRoot and otherHumanoid and otherHumanoid.Health > 0 then table.insert(results, otherRoot) end end end return results end local function getClosestPlayer(myRoot) local closestRoot = nil local shortestDistance = math.huge for _, otherRoot in ipairs(getAlivePlayers()) do local distance = (myRoot.Position - otherRoot.Position).Magnitude if distance < shortestDistance then shortestDistance = distance closestRoot = otherRoot end end return closestRoot end local function activateTeleport() local myRoot = character and character:FindFirstChild("HumanoidRootPart") if not myRoot then return end local destination = nil if selectedTeleport == "Closest Player" then local target = getClosestPlayer(myRoot) if target then destination = target.CFrame * CFrame.new(3, 0, 0) end elseif selectedTeleport == "Behind Player" then local target = getClosestPlayer(myRoot) if target then destination = target.CFrame * CFrame.new(0, 0, 4) end elseif selectedTeleport == "Random Player" then local availablePlayers = getAlivePlayers() if #availablePlayers > 0 then local target = availablePlayers[math.random(1, #availablePlayers)] destination = target.CFrame * CFrame.new(0, 0, 4) end elseif selectedTeleport == "Teleport to Spawn" then for _, object in ipairs(workspace:GetDescendants()) do if object:IsA("SpawnLocation") then destination = object.CFrame + Vector3.new(0, 4, 0) break end end elseif selectedTeleport == "Teleport Back" then if lastPosition then destination = lastPosition end end if not destination then teleportStatus.Text = "No destination found!" return end -- SAVE PREVIOUS POSITION local oldPosition = myRoot.CFrame -- TELEPORT myRoot.CFrame = destination -- ALLOW TELEPORT BACK TO SWITCH POSITIONS lastPosition = oldPosition teleportStatus.Text = "Teleported successfully!" end --// MENU VISIBILITY local menuOpen = true local function toggleMenu() menuOpen = not menuOpen frame.Visible = menuOpen end hideButton.MouseButton1Click:Connect(function() menuOpen = false frame.Visible = false end) --// KEYBINDS UserInputService.InputBegan:Connect(function(input, gameProcessed) if input.KeyCode == Enum.KeyCode.LeftAlt then toggleMenu() return end if gameProcessed then return end if input.KeyCode == Enum.KeyCode.E then activateTeleport() end end) --// RESPAWN FIX player.CharacterAdded:Connect(function(newChar) character = newChar humanoid = newChar:WaitForChild("Humanoid") collisionStates = {} end)