-- [[ 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 ]] -- Viper GUI for your own Roblox experience. -- Add this LocalScript to StarterPlayer > StarterPlayerScripts. -- Fly controls: WASD to move, Space to rise, Q to descend. local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local THEMES = { Crimson = { background = Color3.fromRGB(12, 12, 15), panel = Color3.fromRGB(23, 23, 28), field = Color3.fromRGB(33, 33, 39), accent = Color3.fromRGB(225, 42, 57), accentDark = Color3.fromRGB(117, 25, 35), text = Color3.fromRGB(246, 246, 249), muted = Color3.fromRGB(155, 155, 165), line = Color3.fromRGB(66, 66, 76), accentText = Color3.fromRGB(255, 255, 255), success = Color3.fromRGB(100, 218, 141), }, Green = { background = Color3.fromRGB(9, 13, 11), panel = Color3.fromRGB(18, 25, 21), field = Color3.fromRGB(27, 38, 31), accent = Color3.fromRGB(56, 211, 121), accentDark = Color3.fromRGB(28, 111, 65), text = Color3.fromRGB(242, 249, 244), muted = Color3.fromRGB(147, 169, 153), line = Color3.fromRGB(47, 72, 56), accentText = Color3.fromRGB(8, 20, 13), success = Color3.fromRGB(104, 231, 152), }, Blue = { background = Color3.fromRGB(9, 12, 18), panel = Color3.fromRGB(18, 23, 32), field = Color3.fromRGB(27, 35, 48), accent = Color3.fromRGB(61, 151, 255), accentDark = Color3.fromRGB(30, 78, 133), text = Color3.fromRGB(243, 247, 253), muted = Color3.fromRGB(149, 163, 184), line = Color3.fromRGB(49, 65, 88), accentText = Color3.fromRGB(255, 255, 255), success = Color3.fromRGB(104, 218, 151), }, } local themeName = "Crimson" local theme = THEMES[themeName] local themeTargets = {} local flyEnabled = false local infiniteJumpEnabled = false local noclipEnabled = false local selectedWalkSpeed local selectedJumpPower local heldKeys = {} local noclipStepConnection local noclipDescendantConnection local noclipCharacter local originalCanCollide = {} local flightConnection local flightHumanoid local flightAttachment local flightVelocity local flightOrientation local oldAutoRotate local function track(instance, property, themeKey) table.insert(themeTargets, {instance = instance, property = property, themeKey = themeKey}) end local function corner(instance, radius) local object = Instance.new("UICorner") object.CornerRadius = UDim.new(0, radius) object.Parent = instance return object end local function outline(instance, color, transparency) local object = Instance.new("UIStroke") object.Color = color object.Thickness = 1 object.Transparency = transparency or 0.2 object.Parent = instance return object end local function makeLabel(parent, name, text, size, position, textColor, font, textSize) local object = Instance.new("TextLabel") object.Name = name object.BackgroundTransparency = 1 object.Size = size object.Position = position object.Font = font or Enum.Font.Gotham object.Text = text object.TextColor3 = textColor or theme.text object.TextSize = textSize or 14 object.TextXAlignment = Enum.TextXAlignment.Left object.Parent = parent return object end local function makeButton(parent, name, text, size, position, background, textColor) local object = Instance.new("TextButton") object.Name = name object.Size = size object.Position = position object.BackgroundColor3 = background or theme.field object.BorderSizePixel = 0 object.AutoButtonColor = true object.Font = Enum.Font.GothamBold object.Text = text object.TextColor3 = textColor or theme.text object.TextSize = 12 object.Parent = parent corner(object, 9) local objectOutline = outline(object, theme.line, 0.2) return object, objectOutline end local gui = Instance.new("ScreenGui") gui.Name = "ViperGui" gui.ResetOnSpawn = false gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling gui.Parent = playerGui local openButton, openOutline = makeButton(gui, "OpenViper", "V VIPER", UDim2.fromOffset(116, 42), UDim2.new(0, 18, 0.5, -21), theme.accent, theme.accentText) openButton.Visible = false openButton.TextSize = 14 track(openButton, "BackgroundColor3", "accent") track(openButton, "TextColor3", "accentText") track(openOutline, "Color", "accent") local panel = Instance.new("Frame") panel.Name = "MainPanel" panel.Size = UDim2.fromOffset(340, 648) panel.Position = UDim2.new(0.5, -170, 0.5, -324) panel.BackgroundColor3 = theme.background panel.BorderSizePixel = 0 panel.Parent = gui corner(panel, 14) local panelOutline = outline(panel, theme.accentDark, 0.1) track(panel, "BackgroundColor3", "background") track(panelOutline, "Color", "accentDark") local topBar = Instance.new("Frame") topBar.Name = "TopBar" topBar.Size = UDim2.new(1, 0, 0, 68) topBar.BackgroundColor3 = theme.panel topBar.BorderSizePixel = 0 topBar.Parent = panel corner(topBar, 14) track(topBar, "BackgroundColor3", "panel") local topBarCover = Instance.new("Frame") topBarCover.Size = UDim2.new(1, 0, 0, 14) topBarCover.Position = UDim2.new(0, 0, 1, -14) topBarCover.BackgroundColor3 = theme.panel topBarCover.BorderSizePixel = 0 topBarCover.Parent = topBar track(topBarCover, "BackgroundColor3", "panel") local headerGradient = Instance.new("UIGradient") headerGradient.Color = ColorSequence.new(theme.panel, theme.accentDark) headerGradient.Parent = topBar local accentBar = Instance.new("Frame") accentBar.Name = "AccentBar" accentBar.Size = UDim2.new(0, 4, 0, 38) accentBar.Position = UDim2.new(0, 16, 0, 15) accentBar.BackgroundColor3 = theme.accent accentBar.BorderSizePixel = 0 accentBar.Parent = topBar corner(accentBar, 3) track(accentBar, "BackgroundColor3", "accent") local title = makeLabel(topBar, "Title", "VIPER", UDim2.new(1, -150, 0, 25), UDim2.new(0, 29, 0, 11), theme.text, Enum.Font.GothamBlack, 19) local subtitle = makeLabel(topBar, "Subtitle", "PLAYER CONTROL PANEL", UDim2.new(1, -150, 0, 18), UDim2.new(0, 30, 0, 37), theme.muted, Enum.Font.GothamMedium, 10) track(title, "TextColor3", "text") track(subtitle, "TextColor3", "muted") local themeButton, themeButtonOutline = makeButton(topBar, "ThemeMenuButton", "THEME", UDim2.fromOffset(58, 32), UDim2.new(1, -128, 0, 18), theme.field) themeButton.TextSize = 9 track(themeButton, "BackgroundColor3", "field") track(themeButton, "TextColor3", "text") track(themeButtonOutline, "Color", "line") local closeButton, closeOutline = makeButton(topBar, "Close", "×", UDim2.fromOffset(34, 34), UDim2.new(1, -48, 0, 17), theme.field) closeButton.TextSize = 22 track(closeButton, "BackgroundColor3", "field") track(closeButton, "TextColor3", "text") track(closeOutline, "Color", "line") local content = Instance.new("Frame") content.Name = "Content" content.BackgroundTransparency = 1 content.Size = UDim2.new(1, -36, 1, -88) content.Position = UDim2.new(0, 18, 0, 80) content.Parent = panel local function makeInputSection(name, headingText, placeholder, y) local heading = makeLabel(content, name .. "Label", headingText, UDim2.new(1, 0, 0, 20), UDim2.new(0, 0, 0, y), theme.text, Enum.Font.GothamBold, 13) track(heading, "TextColor3", "text") local box = Instance.new("TextBox") box.Name = name .. "Input" box.Size = UDim2.new(1, 0, 0, 42) box.Position = UDim2.new(0, 0, 0, y + 25) box.BackgroundColor3 = theme.field box.BorderSizePixel = 0 box.ClearTextOnFocus = false box.Font = Enum.Font.Gotham box.PlaceholderText = placeholder box.PlaceholderColor3 = theme.muted box.Text = "" box.TextColor3 = theme.text box.TextSize = 14 box.TextXAlignment = Enum.TextXAlignment.Left box.Parent = content corner(box, 9) local boxOutline = outline(box, theme.line, 0.25) local padding = Instance.new("UIPadding") padding.PaddingLeft = UDim.new(0, 12) padding.PaddingRight = UDim.new(0, 12) padding.Parent = box track(box, "BackgroundColor3", "field") track(box, "TextColor3", "text") track(box, "PlaceholderColor3", "muted") track(boxOutline, "Color", "line") local apply, applyOutline = makeButton(content, name .. "Apply", "APPLY " .. string.upper(name), UDim2.new(1, 0, 0, 38), UDim2.new(0, 0, 0, y + 76), theme.accentDark, theme.accentText) apply.TextSize = 11 track(apply, "BackgroundColor3", "accentDark") track(apply, "TextColor3", "accentText") track(applyOutline, "Color", "accent") return box, apply end local speedInput, speedApply = makeInputSection("Speed", "Change Walkspeed", "Enter a number, for example 24", 0) local jumpInput, jumpApply = makeInputSection("JumpPower", "Jump Power", "Enter a number, for example 60", 130) local selectedFlySpeed = 48 local flySpeedLabel = makeLabel(content, "FlySpeedLabel", "FLY SPEED", UDim2.new(1, 0, 0, 20), UDim2.new(0, 0, 0, 254), theme.text, Enum.Font.GothamBold, 13) track(flySpeedLabel, "TextColor3", "text") local flySpeedInput = Instance.new("TextBox") flySpeedInput.Name = "FlySpeedInput" flySpeedInput.Size = UDim2.new(1, -112, 0, 38) flySpeedInput.Position = UDim2.new(0, 0, 0, 279) flySpeedInput.BackgroundColor3 = theme.field flySpeedInput.BorderSizePixel = 0 flySpeedInput.ClearTextOnFocus = false flySpeedInput.Font = Enum.Font.Gotham flySpeedInput.PlaceholderText = "Fly speed" flySpeedInput.PlaceholderColor3 = theme.muted flySpeedInput.Text = tostring(selectedFlySpeed) flySpeedInput.TextColor3 = theme.text flySpeedInput.TextSize = 14 flySpeedInput.TextXAlignment = Enum.TextXAlignment.Left flySpeedInput.Parent = content corner(flySpeedInput, 9) local flySpeedOutline = outline(flySpeedInput, theme.line, 0.25) local flySpeedPadding = Instance.new("UIPadding") flySpeedPadding.PaddingLeft = UDim.new(0, 12) flySpeedPadding.PaddingRight = UDim.new(0, 12) flySpeedPadding.Parent = flySpeedInput track(flySpeedInput, "BackgroundColor3", "field") track(flySpeedInput, "TextColor3", "text") track(flySpeedInput, "PlaceholderColor3", "muted") track(flySpeedOutline, "Color", "line") local flySpeedApply, flySpeedApplyOutline = makeButton(content, "FlySpeedApply", "SET SPEED", UDim2.new(0, 102, 0, 38), UDim2.new(1, -102, 0, 279), theme.accentDark, theme.accentText) flySpeedApply.TextSize = 10 track(flySpeedApply, "BackgroundColor3", "accentDark") track(flySpeedApply, "TextColor3", "accentText") track(flySpeedApplyOutline, "Color", "accent") local function makeToggleRow(name, hintText, y) local heading = makeLabel(content, name .. "Label", string.upper(name), UDim2.new(1, -120, 0, 20), UDim2.new(0, 0, 0, y), theme.text, Enum.Font.GothamBold, 13) local hint = makeLabel(content, name .. "Hint", hintText, UDim2.new(1, -120, 0, 17), UDim2.new(0, 0, 0, y + 22), theme.muted, Enum.Font.Gotham, 11) track(heading, "TextColor3", "text") track(hint, "TextColor3", "muted") local toggle, toggleOutline = makeButton(content, name .. "Toggle", "OFF", UDim2.fromOffset(82, 34), UDim2.new(1, -82, 0, y + 4), theme.field) track(toggle, "BackgroundColor3", "field") track(toggle, "TextColor3", "text") track(toggleOutline, "Color", "line") return toggle end local infiniteButton = makeToggleRow("Infinite Jumps", "Jump again while in the air", 332) local flyButton = makeToggleRow("Fly", "WASD • Mouse aim • Space up / Q down", 384) local noclipButton = makeToggleRow("Noclip", "Phase through walls and parts", 436) local tpInput = Instance.new("TextBox") tpInput.Name = "TPUsernameInput" tpInput.Size = UDim2.new(1, -84, 0, 38) tpInput.Position = UDim2.new(0, 0, 0, 488) tpInput.BackgroundColor3 = theme.field tpInput.BorderSizePixel = 0 tpInput.ClearTextOnFocus = false tpInput.Font = Enum.Font.Gotham tpInput.PlaceholderText = "Enter player username" tpInput.PlaceholderColor3 = theme.muted tpInput.Text = "" tpInput.TextColor3 = theme.text tpInput.TextSize = 12 tpInput.TextXAlignment = Enum.TextXAlignment.Left tpInput.Parent = content corner(tpInput, 9) local tpInputOutline = outline(tpInput, theme.line, 0.25) local tpPadding = Instance.new("UIPadding") tpPadding.PaddingLeft = UDim.new(0, 11) tpPadding.PaddingRight = UDim.new(0, 8) tpPadding.Parent = tpInput track(tpInput, "BackgroundColor3", "field") track(tpInput, "TextColor3", "text") track(tpInput, "PlaceholderColor3", "muted") track(tpInputOutline, "Color", "line") local tpButton, tpButtonOutline = makeButton(content, "TP", "TP", UDim2.fromOffset(72, 38), UDim2.new(1, -72, 0, 488), theme.accentDark, theme.accentText) track(tpButton, "BackgroundColor3", "accentDark") track(tpButton, "TextColor3", "accentText") track(tpButtonOutline, "Color", "accent") local statusLabel = makeLabel(content, "Status", "Ready. Enter a value to get started.", UDim2.new(1, 0, 0, 22), UDim2.new(0, 0, 0, 538), theme.muted, Enum.Font.Gotham, 11) statusLabel.TextWrapped = true track(statusLabel, "TextColor3", "muted") local themeMenu = Instance.new("Frame") themeMenu.Name = "ThemeMenu" themeMenu.Size = UDim2.fromOffset(190, 142) themeMenu.Position = UDim2.new(1, -202, 0, 60) themeMenu.BackgroundColor3 = theme.panel themeMenu.BorderSizePixel = 0 themeMenu.Visible = false themeMenu.ZIndex = 10 themeMenu.Parent = panel corner(themeMenu, 10) local themeMenuOutline = outline(themeMenu, theme.accentDark, 0.05) track(themeMenu, "BackgroundColor3", "panel") track(themeMenuOutline, "Color", "accentDark") local themeOptionButtons = {} local applyTheme local setStatus local themeOptions = { {key = "Green", text = "BLACK & GREEN"}, {key = "Blue", text = "BLACK & BLUE"}, {key = "Crimson", text = "CRIMSON & BLACK"}, } for index, option in ipairs(themeOptions) do local optionButton, optionOutline = makeButton(themeMenu, "Theme" .. option.key, option.text, UDim2.new(1, -16, 0, 34), UDim2.new(0, 8, 0, 8 + (index - 1) * 42), theme.field) optionButton.TextSize = 10 optionButton.ZIndex = 11 track(optionButton, "BackgroundColor3", "field") track(optionButton, "TextColor3", "text") track(optionOutline, "Color", "line") themeOptionButtons[option.key] = {button = optionButton, outline = optionOutline} optionButton.Activated:Connect(function() themeName = option.key theme = THEMES[themeName] applyTheme() themeMenu.Visible = false setStatus("Theme changed to " .. string.lower(option.text) .. ".", theme.success) end) end setStatus = function(message, color) statusLabel.Text = message statusLabel.TextColor3 = color or theme.muted end applyTheme = function() for _, target in ipairs(themeTargets) do if target.instance.Parent then target.instance[target.property] = theme[target.themeKey] end end headerGradient.Color = ColorSequence.new(theme.panel, theme.accentDark) for key, option in pairs(themeOptionButtons) do option.outline.Color = key == themeName and theme.accent or theme.line option.outline.Transparency = key == themeName and 0 or 0.2 end infiniteButton.BackgroundColor3 = infiniteJumpEnabled and theme.accent or theme.field infiniteButton.TextColor3 = infiniteJumpEnabled and theme.accentText or theme.text flyButton.BackgroundColor3 = flyEnabled and theme.accent or theme.field flyButton.TextColor3 = flyEnabled and theme.accentText or theme.text noclipButton.BackgroundColor3 = noclipEnabled and theme.accent or theme.field noclipButton.TextColor3 = noclipEnabled and theme.accentText or theme.text end applyTheme() local function getHumanoid() local character = player.Character return character and character:FindFirstChildOfClass("Humanoid") or nil end local function parseNumber(text) local value = tonumber(text) if value == nil or value < 0 or value ~= value or value == math.huge then return nil end return value end local function teleportToUsername() local username = string.match(tpInput.Text, "^%s*(.-)%s*$") if not username or username == "" then setStatus("Type a player's username first.", theme.accent) return end local targetPlayer local wantedName = string.lower(username) for _, candidate in ipairs(Players:GetPlayers()) do if string.lower(candidate.Name) == wantedName then targetPlayer = candidate break end end if not targetPlayer then setStatus("That username is not in this server.", theme.accent) return end if targetPlayer == player then setStatus("You are already that player.", theme.muted) return end local targetCharacter = targetPlayer.Character local targetRoot = targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") local ownCharacter = player.Character local ownRoot = ownCharacter and ownCharacter:FindFirstChild("HumanoidRootPart") if not targetRoot or not ownRoot then setStatus("One of the characters is still loading.", theme.accent) return end ownCharacter:PivotTo(targetRoot.CFrame * CFrame.new(0, 0, 4)) setStatus("Teleported beside " .. targetPlayer.Name .. ".", theme.success) end tpButton.Activated:Connect(teleportToUsername) tpInput.FocusLost:Connect(function(enterPressed) if enterPressed then teleportToUsername() end end) flySpeedApply.Activated:Connect(function() local value = parseNumber(flySpeedInput.Text) if value == nil or value <= 0 then setStatus("Fly speed must be a number greater than 0.", theme.accent) return end selectedFlySpeed = value setStatus("Fly speed set to " .. tostring(value) .. ".", theme.success) end) local function applySavedMovement(character) local humanoid = character:WaitForChild("Humanoid", 10) if not humanoid then return end if selectedWalkSpeed ~= nil then humanoid.WalkSpeed = selectedWalkSpeed end if selectedJumpPower ~= nil then humanoid.UseJumpPower = true humanoid.JumpPower = selectedJumpPower end end speedApply.Activated:Connect(function() local value = parseNumber(speedInput.Text) if value == nil then setStatus("Enter a valid number of 0 or higher.", theme.accent) return end selectedWalkSpeed = value local humanoid = getHumanoid() if humanoid then humanoid.WalkSpeed = value setStatus("Walkspeed set to " .. tostring(value) .. ".", theme.success) else setStatus("Saved. It will apply when your character loads.", theme.success) end end) jumpApply.Activated:Connect(function() local value = parseNumber(jumpInput.Text) if value == nil then setStatus("Enter a valid number of 0 or higher.", theme.accent) return end selectedJumpPower = value local humanoid = getHumanoid() if humanoid then humanoid.UseJumpPower = true humanoid.JumpPower = value setStatus("Jump power set to " .. tostring(value) .. ".", theme.success) else setStatus("Saved. It will apply when your character loads.", theme.success) end end) local function stopFlight() if flightConnection then flightConnection:Disconnect() flightConnection = nil end if flightVelocity then flightVelocity:Destroy() flightVelocity = nil end if flightOrientation then flightOrientation:Destroy() flightOrientation = nil end if flightAttachment then flightAttachment:Destroy() flightAttachment = nil end if flightHumanoid and flightHumanoid.Parent then flightHumanoid.PlatformStand = false if oldAutoRotate ~= nil then flightHumanoid.AutoRotate = oldAutoRotate end if flightHumanoid.Health > 0 then flightHumanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end end flightHumanoid = nil oldAutoRotate = nil table.clear(heldKeys) end local function startFlight() local character = player.Character local humanoid = getHumanoid() local root = character and character:FindFirstChild("HumanoidRootPart") if not humanoid or not root then return false end flightHumanoid = humanoid oldAutoRotate = humanoid.AutoRotate humanoid.AutoRotate = false humanoid.PlatformStand = true flightAttachment = Instance.new("Attachment") flightAttachment.Name = "ViperFlyAttachment" flightAttachment.Parent = root flightOrientation = Instance.new("AlignOrientation") flightOrientation.Name = "ViperFlyOrientation" flightOrientation.Attachment0 = flightAttachment flightOrientation.Mode = Enum.OrientationAlignmentMode.OneAttachment flightOrientation.RigidityEnabled = true flightOrientation.MaxTorque = 1000000000 flightOrientation.CFrame = root.CFrame.Rotation flightOrientation.Parent = root flightVelocity = Instance.new("LinearVelocity") flightVelocity.Name = "ViperFlyVelocity" flightVelocity.Attachment0 = flightAttachment flightVelocity.RelativeTo = Enum.ActuatorRelativeTo.World flightVelocity.ForceLimitsEnabled = false flightVelocity.VectorVelocity = Vector3.zero flightVelocity.Parent = root flightConnection = RunService.Heartbeat:Connect(function() if not root.Parent or not humanoid.Parent or humanoid.Health <= 0 then stopFlight() -- Keep the toggle on; CharacterAdded restarts flight after respawning. flyButton.Text = "ON" flyButton.BackgroundColor3 = theme.accent flyButton.TextColor3 = theme.accentText setStatus("Fly will resume when your character respawns.", theme.muted) return end local camera = workspace.CurrentCamera local look = camera and camera.CFrame.LookVector or Vector3.new(0, 0, -1) if camera then local mousePosition = UserInputService:GetMouseLocation() look = camera:ScreenPointToRay(mousePosition.X, mousePosition.Y).Direction.Unit end local cameraRight = camera and camera.CFrame.RightVector or Vector3.new(1, 0, 0) local right = Vector3.new(cameraRight.X, 0, cameraRight.Z) if right.Magnitude > 0 then right = right.Unit else right = Vector3.new(1, 0, 0) end local direction = Vector3.zero if heldKeys.W or heldKeys.Up then direction += look end if heldKeys.S or heldKeys.Down then direction -= look end if heldKeys.D or heldKeys.Right then direction += right end if heldKeys.A or heldKeys.Left then direction -= right end local vertical = 0 if heldKeys.Space then vertical += 1 end if heldKeys.Q then vertical -= 1 end local velocity = direction * selectedFlySpeed + Vector3.new(0, vertical * selectedFlySpeed, 0) if velocity.Magnitude > selectedFlySpeed then velocity = velocity.Unit * selectedFlySpeed end flightVelocity.VectorVelocity = velocity -- Aim the character toward the camera/mouse while keeping its body upright. local facing = Vector3.new(look.X, 0, look.Z) if facing.Magnitude < 0.001 then local rootLook = root.CFrame.LookVector facing = Vector3.new(rootLook.X, 0, rootLook.Z) end if facing.Magnitude > 0 then flightOrientation.CFrame = CFrame.lookAt(Vector3.zero, facing.Unit, Vector3.yAxis) end root.AssemblyAngularVelocity = Vector3.zero end) return true end local function setFly(enabled) if enabled then if not startFlight() then flyEnabled = false flyButton.Text = "OFF" setStatus("Your character is still loading.", theme.accent) return end flyEnabled = true flyButton.Text = "ON" flyButton.BackgroundColor3 = theme.accent flyButton.TextColor3 = theme.accentText setStatus("Fly enabled. Use WASD, Space up, and Q down.", theme.success) else flyEnabled = false stopFlight() flyButton.Text = "OFF" flyButton.BackgroundColor3 = theme.field flyButton.TextColor3 = theme.text setStatus("Fly disabled.", theme.muted) end end flyButton.Activated:Connect(function() setFly(not flyEnabled) end) infiniteButton.Activated:Connect(function() infiniteJumpEnabled = not infiniteJumpEnabled infiniteButton.Text = infiniteJumpEnabled and "ON" or "OFF" infiniteButton.BackgroundColor3 = infiniteJumpEnabled and theme.accent or theme.field infiniteButton.TextColor3 = infiniteJumpEnabled and theme.accentText or theme.text setStatus(infiniteJumpEnabled and "Infinite jumps enabled." or "Infinite jumps disabled.", infiniteJumpEnabled and theme.success or theme.muted) end) local function applyNoclipToPart(object) if not object:IsA("BasePart") then return end if originalCanCollide[object] == nil then originalCanCollide[object] = object.CanCollide end object.CanCollide = false end local function bindNoclipCharacter(character) if noclipDescendantConnection then noclipDescendantConnection:Disconnect() noclipDescendantConnection = nil end noclipCharacter = character if not character then return end for _, object in ipairs(character:GetDescendants()) do applyNoclipToPart(object) end noclipDescendantConnection = character.DescendantAdded:Connect(applyNoclipToPart) end local function enforceNoclipBeforePhysics() local character = player.Character if character ~= noclipCharacter then bindNoclipCharacter(character) end if character then for _, object in ipairs(character:GetDescendants()) do applyNoclipToPart(object) end end end local function restoreNoclip() if noclipStepConnection then noclipStepConnection:Disconnect() noclipStepConnection = nil end if noclipDescendantConnection then noclipDescendantConnection:Disconnect() noclipDescendantConnection = nil end noclipCharacter = nil for part, wasCollidable in pairs(originalCanCollide) do if part.Parent then part.CanCollide = wasCollidable end end table.clear(originalCanCollide) end local function setNoclip(enabled) noclipEnabled = enabled if enabled then bindNoclipCharacter(player.Character) enforceNoclipBeforePhysics() -- PreSimulation runs immediately before physics. DescendantAdded also -- catches accessories and body parts as soon as Roblox inserts them. noclipStepConnection = RunService.PreSimulation:Connect(enforceNoclipBeforePhysics) noclipButton.Text = "ON" noclipButton.BackgroundColor3 = theme.accent noclipButton.TextColor3 = theme.accentText setStatus("Noclip enabled.", theme.success) else restoreNoclip() noclipButton.Text = "OFF" noclipButton.BackgroundColor3 = theme.field noclipButton.TextColor3 = theme.text setStatus("Noclip disabled.", theme.muted) end end noclipButton.Activated:Connect(function() setNoclip(not noclipEnabled) end) UserInputService.JumpRequest:Connect(function() if not infiniteJumpEnabled or flyEnabled then return end local humanoid = getHumanoid() if humanoid and humanoid.Health > 0 then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) local keyNames = { [Enum.KeyCode.W] = "W", [Enum.KeyCode.A] = "A", [Enum.KeyCode.S] = "S", [Enum.KeyCode.D] = "D", [Enum.KeyCode.Up] = "Up", [Enum.KeyCode.Down] = "Down", [Enum.KeyCode.Left] = "Left", [Enum.KeyCode.Right] = "Right", [Enum.KeyCode.Space] = "Space", [Enum.KeyCode.Q] = "Q", } UserInputService.InputBegan:Connect(function(input, gameProcessed) if input.KeyCode == Enum.KeyCode.K and not gameProcessed and not UserInputService:GetFocusedTextBox() then panel.Visible = not panel.Visible openButton.Visible = not panel.Visible if not panel.Visible then themeMenu.Visible = false end return end local key = keyNames[input.KeyCode] if key and not gameProcessed and not UserInputService:GetFocusedTextBox() then heldKeys[key] = true end end) UserInputService.InputEnded:Connect(function(input) local key = keyNames[input.KeyCode] if key then heldKeys[key] = nil end end) player.CharacterAdded:Connect(function(character) if flyEnabled then stopFlight() flyButton.Text = "ON" flyButton.BackgroundColor3 = theme.accent flyButton.TextColor3 = theme.accentText setStatus("Restarting fly...", theme.muted) task.spawn(function() local humanoid = character:WaitForChild("Humanoid", 10) local root = character:WaitForChild("HumanoidRootPart", 10) if not flyEnabled or player.Character ~= character or not humanoid or not root then return end if startFlight() then flyButton.Text = "ON" flyButton.BackgroundColor3 = theme.accent flyButton.TextColor3 = theme.accentText setStatus("Fly resumed. Use WASD, Space up, and Q down.", theme.success) end end) end task.spawn(applySavedMovement, character) end) if player.Character then task.spawn(applySavedMovement, player.Character) end themeButton.Activated:Connect(function() themeMenu.Visible = not themeMenu.Visible end) closeButton.Activated:Connect(function() panel.Visible = false themeMenu.Visible = false openButton.Visible = true end) openButton.Activated:Connect(function() panel.Visible = true openButton.Visible = false end) -- Subtle accent pulse for the original Viper-style header. task.spawn(function() while gui.Parent do local dim = TweenService:Create(accentBar, TweenInfo.new(0.9, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), {BackgroundTransparency = 0.35}) dim:Play() dim.Completed:Wait() local bright = TweenService:Create(accentBar, TweenInfo.new(0.9, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), {BackgroundTransparency = 0}) bright:Play() bright.Completed:Wait() end end) -- Drag the panel from the header. local dragging = false local dragInput local dragStart local panelStart topBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position panelStart = panel.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) topBar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart panel.Position = UDim2.new( panelStart.X.Scale, panelStart.X.Offset + delta.X, panelStart.Y.Scale, panelStart.Y.Offset + delta.Y ) end end)