local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local CoreGui = game:GetService("CoreGui") local Lighting = game:GetService("Lighting") local HttpService = game:GetService("HttpService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local isMobile = UserInputService.TouchEnabled local deviceName = isMobile and "Mobile" or "PC" local FileName = "VoidHubSavedScripts.json" local SavedScripts = {} if isfile and isfile(FileName) then local success, result = pcall(function() return readfile(FileName) end) if success and result then local decodeSuccess, decoded = pcall(function() return HttpService:JSONDecode(result) end) if decodeSuccess and type(decoded) == "table" then SavedScripts = decoded end end end local function saveScriptsToFile() if writefile then pcall(function() writefile(FileName, HttpService:JSONEncode(SavedScripts)) end) end end local SettingsFileName = "VoidHubSettings.json" local SavedBackgroundIndex = 1 if isfile and isfile(SettingsFileName) then local success, result = pcall(function() return readfile(SettingsFileName) end) if success and result then local decodeSuccess, decoded = pcall(function() return HttpService:JSONDecode(result) end) if decodeSuccess and type(decoded) == "table" and type(decoded.BackgroundIndex) == "number" then SavedBackgroundIndex = decoded.BackgroundIndex end end end local function saveBackgroundIndex(idx) if writefile then pcall(function() writefile(SettingsFileName, HttpService:JSONEncode({BackgroundIndex = idx})) end) end end for _, name in pairs({"VoidLoadingGui", "VoidHubGui"}) do local old = CoreGui:FindFirstChild(name) or playerGui:FindFirstChild(name) if old then old:Destroy() end end local oldBlur = Lighting:FindFirstChild("VoidBlur") if oldBlur then oldBlur:Destroy() end for _, v in pairs(Lighting:GetChildren()) do if v:IsA("ColorCorrectionEffect") and v.Name:match("VoidShader") then v:Destroy() end end task.wait(3) local loadGui = Instance.new("ScreenGui") loadGui.Name = "VoidLoadingGui" loadGui.ResetOnSpawn = false loadGui.IgnoreGuiInset = true loadGui.DisplayOrder = 999 pcall(function() loadGui.Parent = CoreGui end) if not loadGui.Parent then loadGui.Parent = playerGui end local bg = Instance.new("Frame") bg.Size = UDim2.new(1, 0, 1, 0) bg.BackgroundColor3 = Color3.fromRGB(10, 10, 15) bg.Parent = loadGui local spinnerContainer = Instance.new("Frame") spinnerContainer.AnchorPoint = Vector2.new(0.5, 0.5) spinnerContainer.Size = UDim2.new(0, 150, 0, 150) spinnerContainer.Position = UDim2.new(0.5, 0, 0.45, 0) spinnerContainer.BackgroundTransparency = 1 spinnerContainer.Parent = loadGui local ringBg = Instance.new("Frame") ringBg.Size = UDim2.new(1, 0, 1, 0) ringBg.BackgroundColor3 = Color3.fromRGB(30, 30, 40) ringBg.Parent = spinnerContainer local rbgC = Instance.new("UICorner"); rbgC.CornerRadius = UDim.new(1,0); rbgC.Parent = ringBg local shadow = Instance.new("Frame") shadow.AnchorPoint = Vector2.new(0.5, 0.5) shadow.Size = UDim2.new(1, 0, 1, 0) shadow.Position = UDim2.new(0.5, 0, 0.5, 0) shadow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) shadow.Parent = spinnerContainer local shC = Instance.new("UICorner"); shC.CornerRadius = UDim.new(1,0); shC.Parent = shadow local shadowGradient = Instance.new("UIGradient") shadowGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 100)), ColorSequenceKeypoint.new(1, Color3.fromRGB(30, 30, 40)) }) shadowGradient.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}) shadowGradient.Parent = shadow local hole = Instance.new("Frame") hole.AnchorPoint = Vector2.new(0.5, 0.5) hole.Size = UDim2.new(0, 110, 0, 110) hole.Position = UDim2.new(0.5, 0, 0.5, 0) hole.BackgroundColor3 = Color3.fromRGB(10, 10, 15) hole.Parent = spinnerContainer local hC = Instance.new("UICorner"); hC.CornerRadius = UDim.new(1,0); hC.Parent = hole local rotation = 0 task.spawn(function() while loadGui.Parent do rotation = rotation + 5 if rotation >= 360 then rotation = 0 end shadowGradient.Rotation = rotation task.wait(0.03) end end) local loadingText = Instance.new("TextLabel") loadingText.AnchorPoint = Vector2.new(0.5, 0.5) loadingText.Size = UDim2.new(0, 300, 0, 40) loadingText.Position = UDim2.new(0.5, 0, 0.6, 0) loadingText.BackgroundTransparency = 1 loadingText.Font = Enum.Font.Code loadingText.Text = "> Loading Void <" loadingText.TextColor3 = Color3.fromRGB(0, 255, 100) loadingText.TextSize = 22 loadingText.Parent = loadGui local textStroke = Instance.new("UIStroke") textStroke.Color = Color3.fromRGB(0, 255, 100) textStroke.Thickness = 2 textStroke.Transparency = 0.5 textStroke.Parent = loadingText local loadingTexts = {"> Loading Void Hub <", "> Loading Tabs <", "> Loading Scripts <", "> Loading Modules <", "> Ready! <"} task.spawn(function() for i, txt in ipairs(loadingTexts) do loadingText.Text = txt if txt == "> Ready! <" then loadingText.TextColor3 = Color3.fromRGB(255, 255, 255) textStroke.Color = Color3.fromRGB(255, 255, 255) end task.wait(2) end end) task.wait(10) TweenService:Create(bg, TweenInfo.new(1), {BackgroundTransparency = 1}):Play() TweenService:Create(spinnerContainer, TweenInfo.new(1), {Size = UDim2.new(0, 0, 0, 0)}):Play() TweenService:Create(loadingText, TweenInfo.new(1), {TextTransparency = 1}):Play() TweenService:Create(textStroke, TweenInfo.new(1), {Transparency = 1}):Play() task.wait(1.5) loadGui:Destroy() local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "VoidHubGui" ScreenGui.ResetOnSpawn = false ScreenGui.DisplayOrder = 998 ScreenGui.IgnoreGuiInset = true pcall(function() ScreenGui.Parent = CoreGui end) if not ScreenGui.Parent then ScreenGui.Parent = playerGui end local TopInfoBar = Instance.new("Frame") TopInfoBar.Size = UDim2.new(0, 200, 0, 30) TopInfoBar.Position = UDim2.new(0.5, -100, 0, 10) TopInfoBar.BackgroundColor3 = Color3.fromRGB(15, 15, 20) TopInfoBar.BackgroundTransparency = 1 TopInfoBar.Visible = false TopInfoBar.Parent = ScreenGui Instance.new("UICorner", TopInfoBar).CornerRadius = UDim.new(0, 6) local TopInfoStroke = Instance.new("UIStroke", TopInfoBar); TopInfoStroke.Color = Color3.fromRGB(0, 255, 100); TopInfoStroke.Thickness = 1; TopInfoStroke.Transparency = 1 local DeviceText = Instance.new("TextLabel") DeviceText.Size = UDim2.new(0.5, 0, 1, 0) DeviceText.BackgroundTransparency = 1 DeviceText.Font = Enum.Font.Code DeviceText.Text = "Device: " .. deviceName DeviceText.TextColor3 = Color3.fromRGB(0, 255, 100) DeviceText.TextSize = 14 DeviceText.Parent = TopInfoBar local FPSText = Instance.new("TextLabel") FPSText.Size = UDim2.new(0.5, 0, 1, 0) FPSText.Position = UDim2.new(0.5, 0, 0, 0) FPSText.BackgroundTransparency = 1 FPSText.Font = Enum.Font.Code FPSText.Text = "FPS: 60" FPSText.TextColor3 = Color3.fromRGB(255, 255, 255) FPSText.TextSize = 14 FPSText.Parent = TopInfoBar local frames = 0 local timeElapsed = 0 RunService.RenderStepped:Connect(function(dt) frames = frames + 1 timeElapsed = timeElapsed + dt if timeElapsed >= 1 then FPSText.Text = "FPS: " .. tostring(frames) frames = 0 timeElapsed = 0 end end) local blur = Instance.new("BlurEffect") blur.Name = "VoidBlur" blur.Size = 0 blur.Parent = Lighting TweenService:Create(blur, TweenInfo.new(1), {Size = 15}):Play() local darkOverlay = Instance.new("Frame") darkOverlay.Size = UDim2.new(1, 0, 1, 0) darkOverlay.BackgroundColor3 = Color3.fromRGB(0, 0, 0) darkOverlay.BackgroundTransparency = 1 darkOverlay.Parent = ScreenGui TweenService:Create(darkOverlay, TweenInfo.new(1), {BackgroundTransparency = 0.5}):Play() local emojiContainer = Instance.new("Frame") emojiContainer.Size = UDim2.new(1, 0, 1, 0) emojiContainer.BackgroundTransparency = 1 emojiContainer.Parent = ScreenGui local emojis = {"✨", "🔥", "👾", "🚀", "💎", "🌟", "🎈", "🎵", "💫", "🪐"} local emojiObjects = {} local isFleeing = false for i = 1, 20 do local emoji = Instance.new("TextLabel") emoji.Size = UDim2.new(0, math.random(30, 60), 0, math.random(30, 60)) emoji.Position = UDim2.new(math.random(), 0, math.random(), 0) emoji.BackgroundTransparency = 1 emoji.Text = emojis[math.random(1, #emojis)] emoji.TextColor3 = Color3.fromRGB(255, 255, 255) emoji.TextScaled = true emoji.TextTransparency = math.random(40, 80) / 100 emoji.Rotation = math.random(0, 360) emoji.Parent = emojiContainer local data = { Object = emoji, BasePos = emoji.Position, SpeedX = math.random(-10, 10) / 1000, SpeedY = math.random(-10, 10) / 1000, RotSpeed = math.random(-20, 20) / 10 } table.insert(emojiObjects, data) end RunService.RenderStepped:Connect(function(dt) if isFleeing then return end for _, data in pairs(emojiObjects) do local e = data.Object local x = e.Position.X.Scale + (data.SpeedX * dt) local y = e.Position.Y.Scale + (data.SpeedY * dt) if x < 0 then x = 1 elseif x > 1 then x = 0 end if y < 0 then y = 1 elseif y > 1 then y = 0 end e.Position = UDim2.new(x, 0, y, 0) e.Rotation = e.Rotation + (data.RotSpeed * dt * 10) end end) local Panel = Instance.new("Frame") Panel.AnchorPoint = Vector2.new(0, 0.5) Panel.Size = UDim2.new(0, 80, 0, 520) Panel.Position = UDim2.new(-0.1, 0, 0.5, 0) Panel.BackgroundColor3 = Color3.fromRGB(15, 15, 20) Panel.Parent = ScreenGui Instance.new("UICorner", Panel).CornerRadius = UDim.new(0, 12) local PanelStroke = Instance.new("UIStroke", Panel); PanelStroke.Color = Color3.fromRGB(0, 255, 100); PanelStroke.Thickness = 2 local ContentFrame = Instance.new("Frame") ContentFrame.AnchorPoint = Vector2.new(0, 0.5) ContentFrame.Size = UDim2.new(0, 420, 0, 400) ContentFrame.Position = UDim2.new(-0.5, 0, 0.5, 0) ContentFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 25) ContentFrame.Parent = ScreenGui Instance.new("UICorner", ContentFrame).CornerRadius = UDim.new(0, 12) local ContentStroke = Instance.new("UIStroke", ContentFrame); ContentStroke.Color = Color3.fromRGB(0, 255, 100); ContentStroke.Thickness = 2 local function createIcon(emoji, yPos) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 50, 0, 50) btn.Position = UDim2.new(0, 15, 0, yPos) btn.BackgroundColor3 = Color3.fromRGB(30, 30, 40) btn.Text = emoji btn.TextSize = 28 btn.Parent = Panel Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8) return btn end local iconPlayer = createIcon("👤", 20) local iconVisuals = createIcon("👁️", 75) local iconFly = createIcon("✈️", 130) local iconShaders = createIcon("✨", 185) local iconScripts = createIcon("📜", 240) local iconSettings = createIcon("⚙️", 295) local iconExit = createIcon("🚪", 440) local PlayerPage = Instance.new("Frame"); PlayerPage.Size = UDim2.new(1, 0, 1, 0); PlayerPage.BackgroundTransparency = 1; PlayerPage.Parent = ContentFrame local VisualsPage = Instance.new("Frame"); VisualsPage.Size = UDim2.new(1, 0, 1, 0); VisualsPage.BackgroundTransparency = 1; VisualsPage.Visible = false; VisualsPage.Parent = ContentFrame local FlyPage = Instance.new("Frame"); FlyPage.Size = UDim2.new(1, 0, 1, 0); FlyPage.BackgroundTransparency = 1; FlyPage.Visible = false; FlyPage.Parent = ContentFrame local ShadersPage = Instance.new("Frame"); ShadersPage.Size = UDim2.new(1, 0, 1, 0); ShadersPage.BackgroundTransparency = 1; ShadersPage.Visible = false; ShadersPage.Parent = ContentFrame local ScriptsPage = Instance.new("Frame"); ScriptsPage.Size = UDim2.new(1, 0, 1, 0); ScriptsPage.BackgroundTransparency = 1; ScriptsPage.Visible = false; ScriptsPage.Parent = ContentFrame local SettingsPage = Instance.new("Frame"); SettingsPage.Size = UDim2.new(1, 0, 1, 0); SettingsPage.BackgroundTransparency = 1; SettingsPage.Visible = false; SettingsPage.Parent = ContentFrame local function createToggle(parent, text, default, yPos, callback) local container = Instance.new("Frame") container.Size = UDim2.new(0.8, 0, 0, 40) container.Position = UDim2.new(0.1, 0, 0, yPos) container.BackgroundTransparency = 1 container.Parent = parent local label = Instance.new("TextLabel") label.Text = text label.Size = UDim2.new(0.7, 0, 1, 0) label.BackgroundTransparency = 1 label.Font = Enum.Font.Code label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextSize = 16 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = container local switchBg = Instance.new("Frame") switchBg.Size = UDim2.new(0, 44, 0, 24) switchBg.Position = UDim2.new(1, -44, 0.5, -12) switchBg.BackgroundColor3 = default and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(50, 50, 50) switchBg.Parent = container Instance.new("UICorner", switchBg).CornerRadius = UDim.new(1, 0) local knob = Instance.new("Frame") knob.Size = UDim2.new(0, 20, 0, 20) knob.Position = default and UDim2.new(1, -22, 0.5, -10) or UDim2.new(0, 2, 0.5, -10) knob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) knob.Parent = switchBg Instance.new("UICorner", knob).CornerRadius = UDim.new(1, 0) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 1, 0) btn.BackgroundTransparency = 1 btn.Text = "" btn.Parent = container local isOn = default btn.MouseButton1Click:Connect(function() isOn = not isOn if isOn then TweenService:Create(switchBg, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 255, 100)}):Play() TweenService:Create(knob, TweenInfo.new(0.2), {Position = UDim2.new(1, -22, 0.5, -10)}):Play() else TweenService:Create(switchBg, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(50, 50, 50)}):Play() TweenService:Create(knob, TweenInfo.new(0.2), {Position = UDim2.new(0, 2, 0.5, -10)}):Play() end if callback then callback(isOn) end end) end local function createSlider(parent, text, min, max, default, yPos, callback) local container = Instance.new("Frame") container.Size = UDim2.new(0.8, 0, 0, 50) container.Position = UDim2.new(0.1, 0, 0, yPos) container.BackgroundTransparency = 1 container.Parent = parent local label = Instance.new("TextLabel") label.Text = text .. ": " .. default label.Size = UDim2.new(1, 0, 0, 20) label.BackgroundTransparency = 1 label.Font = Enum.Font.Code label.TextColor3 = Color3.fromRGB(0, 255, 100) label.TextSize = 16 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = container local sliderBg = Instance.new("Frame") sliderBg.Size = UDim2.new(1, 0, 0, 8) sliderBg.Position = UDim2.new(0, 0, 0, 30) sliderBg.BackgroundColor3 = Color3.fromRGB(40, 40, 50) sliderBg.Parent = container Instance.new("UICorner", sliderBg).CornerRadius = UDim.new(1,0) local fill = Instance.new("Frame") fill.Size = UDim2.new((default-min)/(max-min), 0, 1, 0) fill.BackgroundColor3 = Color3.fromRGB(0, 255, 100) fill.Parent = sliderBg Instance.new("UICorner", fill).CornerRadius = UDim.new(1,0) local knob = Instance.new("Frame") knob.AnchorPoint = Vector2.new(0.5, 0.5) knob.Size = UDim2.new(0, 18, 0, 18) knob.Position = UDim2.new(1, 0, 0.5, 0) knob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) knob.Parent = fill Instance.new("UICorner", knob).CornerRadius = UDim.new(1,0) local dragging = false knob.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local percent = math.clamp((input.Position.X - sliderBg.AbsolutePosition.X) / sliderBg.AbsoluteSize.X, 0, 1) fill.Size = UDim2.new(percent, 0, 1, 0) local val = math.floor(min + (percent * (max - min))) label.Text = text .. ": " .. val if callback then callback(val) end end end) end local function createSearchBar(parent, yPos, callback) local searchBox = Instance.new("TextBox") searchBox.Size = UDim2.new(1, -20, 0, 35) searchBox.Position = UDim2.new(0, 10, 0, yPos) searchBox.BackgroundColor3 = Color3.fromRGB(30, 30, 40) searchBox.PlaceholderText = "Search..." searchBox.Font = Enum.Font.Code searchBox.TextColor3 = Color3.fromRGB(0, 255, 100) searchBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150) searchBox.TextSize = 16 searchBox.Text = "" searchBox.Parent = parent Instance.new("UICorner", searchBox).CornerRadius = UDim.new(0, 6) searchBox:GetPropertyChangedSignal("Text"):Connect(function() if callback then callback(searchBox.Text:lower()) end end) return searchBox end createSlider(PlayerPage, "Speed", 16, 200, 16, 20, function(val) if player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.WalkSpeed = val end end) createSlider(PlayerPage, "Gravity", -196, 196, 0, 80, function(val) Workspace.Gravity = 196.2 - val end) createToggle(PlayerPage, "Invisible", false, 150, function(state) if player.Character then for _, v in pairs(player.Character:GetDescendants()) do if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then v.Transparency = state and 1 or 0 end end end end) local TargetLabel = Instance.new("TextLabel") TargetLabel.Size = UDim2.new(0.8, 0, 0, 30) TargetLabel.Position = UDim2.new(0.1, 0, 0, 20) TargetLabel.BackgroundTransparency = 1 TargetLabel.Font = Enum.Font.Code TargetLabel.Text = "Target: Whole Server" TargetLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TargetLabel.TextSize = 16 TargetLabel.TextXAlignment = Enum.TextXAlignment.Left TargetLabel.Parent = VisualsPage local SelectTargetBtn = Instance.new("TextButton") SelectTargetBtn.Size = UDim2.new(0.8, 0, 0, 35) SelectTargetBtn.Position = UDim2.new(0.1, 0, 0, 55) SelectTargetBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 40) SelectTargetBtn.Text = "Select Target" SelectTargetBtn.Font = Enum.Font.Code SelectTargetBtn.TextColor3 = Color3.fromRGB(0, 255, 100) SelectTargetBtn.TextSize = 16 SelectTargetBtn.Parent = VisualsPage Instance.new("UICorner", SelectTargetBtn).CornerRadius = UDim.new(0, 6) createToggle(VisualsPage, "Highlight", false, 110, function(state) if state then for _, p in pairs(Players:GetPlayers()) do if p.Character then local hl = Instance.new("Highlight") hl.Adornee = p.Character hl.FillColor = Color3.fromRGB(0, 255, 100) hl.Parent = p.Character end end else for _, p in pairs(Players:GetPlayers()) do if p.Character then local hl = p.Character:FindFirstChildOfClass("Highlight") if hl then hl:Destroy() end end end end end) local flying = false local flySpeed = 50 local bv, bgGyro local mobileFlyInputs = {W = false, A = false, S = false, D = false, Up = false, Down = false} local MobileFlyUI = Instance.new("Frame") MobileFlyUI.Size = UDim2.new(0, 200, 0, 200) MobileFlyUI.Position = UDim2.new(0.5, -100, 1, -220) MobileFlyUI.BackgroundTransparency = 1 MobileFlyUI.Visible = false MobileFlyUI.Parent = ScreenGui local function createFlyBtn(text, pos) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 50, 0, 50) btn.Position = pos btn.BackgroundColor3 = Color3.fromRGB(0, 255, 100) btn.BackgroundTransparency = 0.5 btn.Text = text btn.Font = Enum.Font.GothamBold btn.TextColor3 = Color3.fromRGB(15, 15, 20) btn.TextSize = 18 btn.Parent = MobileFlyUI Instance.new("UICorner", btn).CornerRadius = UDim.new(1, 0) btn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then mobileFlyInputs[text] = true end end) btn.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then mobileFlyInputs[text] = false end end) end createFlyBtn("Up", UDim2.new(0.5, -25, 0, 0)) createFlyBtn("Down", UDim2.new(0.5, -25, 1, -50)) createFlyBtn("W", UDim2.new(0.5, -25, 0.5, -25)) createFlyBtn("S", UDim2.new(0.5, -25, 1, -110)) createFlyBtn("A", UDim2.new(0, 0, 0.5, -25)) createFlyBtn("D", UDim2.new(1, -50, 0.5, -25)) local function stopFly() flying = false if bv then bv:Destroy() bv = nil end if bgGyro then bgGyro:Destroy() bgGyro = nil end MobileFlyUI.Visible = false end createToggle(FlyPage, "Fly (Enable/Disable)", false, 20, function(state) flying = state if flying then if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local hrp = player.Character.HumanoidRootPart bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = Vector3.new(0, 0, 0) bv.Parent = hrp bgGyro = Instance.new("BodyGyro") bgGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) bgGyro.P = 1000 bgGyro.Parent = hrp end if isMobile then MobileFlyUI.Visible = true end else stopFly() end end) createSlider(FlyPage, "Fly Speed", 10, 200, 50, 80, function(val) flySpeed = val end) task.spawn(function() while task.wait(0.05) do if flying and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and bv and bgGyro then local hrp = player.Character.HumanoidRootPart local camera = Workspace.CurrentCamera local moveDir = Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) or mobileFlyInputs.W then moveDir = moveDir + camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) or mobileFlyInputs.S then moveDir = moveDir - camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) or mobileFlyInputs.A then moveDir = moveDir - camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) or mobileFlyInputs.D then moveDir = moveDir + camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) or mobileFlyInputs.Up then moveDir = moveDir + Vector3.new(0,1,0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or mobileFlyInputs.Down then moveDir = moveDir - Vector3.new(0,1,0) end if moveDir.Magnitude > 0 then bv.Velocity = moveDir.Unit * flySpeed else bv.Velocity = Vector3.new(0,0,0) end bgGyro.CFrame = camera.CFrame end end end) local shaderSearch = createSearchBar(ShadersPage, 5, function(text) for _, v in pairs(ShaderScroll:GetChildren()) do if v:IsA("Frame") then if text == "" or string.find(string.lower(v.Name), text) then v.Visible = true else v.Visible = false end end end end) local ShaderTopBar = Instance.new("Frame") ShaderTopBar.Size = UDim2.new(1, -20, 0, 35) ShaderTopBar.Position = UDim2.new(0, 10, 0, 45) ShaderTopBar.BackgroundColor3 = Color3.fromRGB(30, 30, 40) ShaderTopBar.Parent = ShadersPage Instance.new("UICorner", ShaderTopBar).CornerRadius = UDim.new(0, 6) local ResetShadersBtn = Instance.new("TextButton") ResetShadersBtn.Size = UDim2.new(1, 0, 1, 0) ResetShadersBtn.BackgroundTransparency = 1 ResetShadersBtn.Text = "Reset All Shaders" ResetShadersBtn.Font = Enum.Font.GothamBold ResetShadersBtn.TextColor3 = Color3.fromRGB(255, 80, 80) ResetShadersBtn.TextSize = 16 ResetShadersBtn.Parent = ShaderTopBar local ShaderScroll = Instance.new("ScrollingFrame") ShaderScroll.Size = UDim2.new(1, -20, 1, -125) ShaderScroll.Position = UDim2.new(0, 10, 0, 85) ShaderScroll.BackgroundTransparency = 1 ShaderScroll.ScrollBarThickness = 4 ShaderScroll.CanvasSize = UDim2.new(0, 0, 0, 0) ShaderScroll.Parent = ShadersPage local ShaderLayout = Instance.new("UIListLayout") ShaderLayout.Parent = ShaderScroll ShaderLayout.SortOrder = Enum.SortOrder.LayoutOrder ShaderLayout.Padding = UDim.new(0, 5) local ShaderBottomBar = Instance.new("Frame") ShaderBottomBar.Size = UDim2.new(1, -20, 0, 35) ShaderBottomBar.Position = UDim2.new(0, 10, 1, -40) ShaderBottomBar.BackgroundColor3 = Color3.fromRGB(30, 30, 40) ShaderBottomBar.Parent = ShadersPage Instance.new("UICorner", ShaderBottomBar).CornerRadius = UDim.new(0, 6) local masterEnabled = true local activeEffects = {} local shaderUIs = {} local ShaderPresets = { {Name = "Neon", Brightness = 0.1, Contrast = 0.5, Saturation = 1.5, TintColor = Color3.fromRGB(200, 255, 200)}, {Name = "Night Vision", Brightness = -0.1, Contrast = 0.2, Saturation = 0.5, TintColor = Color3.fromRGB(0, 255, 0)}, {Name = "Horror", Brightness = -0.2, Contrast = 0.8, Saturation = 0.1, TintColor = Color3.fromRGB(255, 0, 0)}, {Name = "Retro", Brightness = 0.05, Contrast = 0.2, Saturation = 0.3, TintColor = Color3.fromRGB(255, 200, 100)}, {Name = "Cyberpunk", Brightness = 0.1, Contrast = 0.6, Saturation = 2.0, TintColor = Color3.fromRGB(0, 255, 255)}, {Name = "Vintage", Brightness = -0.1, Contrast = 0.3, Saturation = 0.6, TintColor = Color3.fromRGB(200, 180, 140)}, {Name = "Infrared", Brightness = 0.0, Contrast = 0.5, Saturation = 1.0, TintColor = Color3.fromRGB(255, 100, 0)}, {Name = "Cold", Brightness = -0.05, Contrast = 0.4, Saturation = 1.2, TintColor = Color3.fromRGB(100, 150, 255)}, {Name = "Warm", Brightness = 0.05, Contrast = 0.3, Saturation = 1.1, TintColor = Color3.fromRGB(255, 150, 100)}, {Name = "X-Ray", Brightness = 0.2, Contrast = 0.7, Saturation = 0.0, TintColor = Color3.fromRGB(255, 255, 255)}, {Name = "Dream", Brightness = 0.15, Contrast = 0.2, Saturation = 1.8, TintColor = Color3.fromRGB(255, 150, 255)}, {Name = "Midnight", Brightness = -0.3, Contrast = 0.1, Saturation = 0.2, TintColor = Color3.fromRGB(50, 50, 150)}, {Name = "Golden", Brightness = 0.1, Contrast = 0.4, Saturation = 1.4, TintColor = Color3.fromRGB(255, 215, 0)}, {Name = "Toxic", Brightness = 0.1, Contrast = 0.6, Saturation = 1.6, TintColor = Color3.fromRGB(100, 255, 0)} } local function updateShaderToggleVisual(switchBg, knob, state) if state then TweenService:Create(switchBg, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 255, 100)}):Play() TweenService:Create(knob, TweenInfo.new(0.2), {Position = UDim2.new(1, -22, 0.5, -10)}):Play() else TweenService:Create(switchBg, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(50, 50, 50)}):Play() TweenService:Create(knob, TweenInfo.new(0.2), {Position = UDim2.new(0, 2, 0.5, -10)}):Play() end end local function applySingleShader(preset) if activeEffects[preset.Name] then return end local cc = Instance.new("ColorCorrectionEffect") cc.Name = "VoidShader_" .. preset.Name cc.Brightness = preset.Brightness cc.Contrast = preset.Contrast cc.Saturation = preset.Saturation cc.TintColor = preset.TintColor cc.Parent = Lighting activeEffects[preset.Name] = cc end local function removeSingleShader(name) if activeEffects[name] then activeEffects[name]:Destroy() activeEffects[name] = nil end end local function removeAllEffects() for name, effect in pairs(activeEffects) do effect:Destroy() end activeEffects = {} end for i, preset in ipairs(ShaderPresets) do local toggleContainer = Instance.new("Frame") toggleContainer.Name = string.lower(preset.Name) toggleContainer.Size = UDim2.new(1, -10, 0, 45) toggleContainer.BackgroundColor3 = Color3.fromRGB(25, 25, 30) toggleContainer.Parent = ShaderScroll Instance.new("UICorner", toggleContainer).CornerRadius = UDim.new(0, 6) local preview = Instance.new("Frame") preview.Size = UDim2.new(0, 25, 0, 25) preview.Position = UDim2.new(0, 10, 0.5, -12.5) preview.BackgroundColor3 = preset.TintColor preview.BorderSizePixel = 0 preview.Parent = toggleContainer Instance.new("UICorner", preview).CornerRadius = UDim.new(0, 4) local nameLbl = Instance.new("TextLabel") nameLbl.Size = UDim2.new(0.5, 0, 1, 0) nameLbl.Position = UDim2.new(0, 45, 0, 0) nameLbl.BackgroundTransparency = 1 nameLbl.Font = Enum.Font.Code nameLbl.Text = preset.Name nameLbl.TextColor3 = Color3.fromRGB(255, 255, 255) nameLbl.TextSize = 15 nameLbl.TextXAlignment = Enum.TextXAlignment.Left nameLbl.Parent = toggleContainer local switchBg = Instance.new("Frame") switchBg.Size = UDim2.new(0, 40, 0, 22) switchBg.Position = UDim2.new(1, -50, 0.5, -11) switchBg.BackgroundColor3 = Color3.fromRGB(50, 50, 50) switchBg.Parent = toggleContainer Instance.new("UICorner", switchBg).CornerRadius = UDim.new(1, 0) local knob = Instance.new("Frame") knob.Size = UDim2.new(0, 18, 0, 18) knob.Position = UDim2.new(0, 2, 0.5, -9) knob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) knob.Parent = switchBg Instance.new("UICorner", knob).CornerRadius = UDim.new(1, 0) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 1, 0) btn.BackgroundTransparency = 1 btn.Text = "" btn.Parent = toggleContainer local data = { Preset = preset, Switch = switchBg, Knob = knob, IsOn = false } table.insert(shaderUIs, data) btn.MouseButton1Click:Connect(function() data.IsOn = not data.IsOn updateShaderToggleVisual(switchBg, knob, data.IsOn) if data.IsOn then if masterEnabled then applySingleShader(preset) end else removeSingleShader(preset.Name) end end) end ShaderLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() ShaderScroll.CanvasSize = UDim2.new(0, 0, 0, ShaderLayout.AbsoluteContentSize.Y + 10) end) ResetShadersBtn.MouseButton1Click:Connect(function() for _, shader in pairs(shaderUIs) do shader.IsOn = false updateShaderToggleVisual(shader.Switch, shader.Knob, false) end removeAllEffects() end) local masterSwitchBg = Instance.new("Frame") masterSwitchBg.Size = UDim2.new(0, 40, 0, 22) masterSwitchBg.Position = UDim2.new(1, -50, 0.5, -11) masterSwitchBg.BackgroundColor3 = Color3.fromRGB(0, 255, 100) masterSwitchBg.Parent = ShaderBottomBar Instance.new("UICorner", masterSwitchBg).CornerRadius = UDim.new(1, 0) local masterKnob = Instance.new("Frame") masterKnob.Size = UDim2.new(0, 18, 0, 18) masterKnob.Position = UDim2.new(1, -20, 0.5, -9) masterKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) masterKnob.Parent = masterSwitchBg Instance.new("UICorner", masterKnob).CornerRadius = UDim.new(1, 0) local masterLabel = Instance.new("TextLabel") masterLabel.Size = UDim2.new(0.7, 0, 1, 0) masterLabel.Position = UDim2.new(0, 10, 0, 0) masterLabel.BackgroundTransparency = 1 masterLabel.Font = Enum.Font.GothamBold masterLabel.Text = "Shaders Master Switch" masterLabel.TextColor3 = Color3.fromRGB(255, 255, 255) masterLabel.TextSize = 14 masterLabel.TextXAlignment = Enum.TextXAlignment.Left masterLabel.Parent = ShaderBottomBar local masterBtn = Instance.new("TextButton") masterBtn.Size = UDim2.new(1, 0, 1, 0) masterBtn.BackgroundTransparency = 1 masterBtn.Text = "" masterBtn.Parent = ShaderBottomBar masterBtn.MouseButton1Click:Connect(function() masterEnabled = not masterEnabled updateShaderToggleVisual(masterSwitchBg, masterKnob, masterEnabled) if masterEnabled then for _, shader in pairs(shaderUIs) do if shader.IsOn then applySingleShader(shader.Preset) end end else removeAllEffects() end end) local scriptSearch = createSearchBar(ScriptsPage, 0, function(text) for _, v in pairs(ScriptList:GetChildren()) do if v:IsA("Frame") then local nameLbl = v:FindFirstChild("NameLbl") if nameLbl then if text == "" or string.find(string.lower(nameLbl.Text), text) then v.Visible = true else v.Visible = false end end end end end) local ScriptsSubBar = Instance.new("Frame") ScriptsSubBar.Size = UDim2.new(1, 0, 0, 40) ScriptsSubBar.Position = UDim2.new(0, 0, 0, 45) ScriptsSubBar.BackgroundColor3 = Color3.fromRGB(20, 20, 25) ScriptsSubBar.Parent = ScriptsPage Instance.new("UICorner", ScriptsSubBar).CornerRadius = UDim.new(0, 6) local btnHome = Instance.new("TextButton") btnHome.Size = UDim2.new(0, 100, 1, 0) btnHome.Position = UDim2.new(0, 10, 0, 0) btnHome.BackgroundTransparency = 1 btnHome.Text = "Home" btnHome.Font = Enum.Font.GothamBold btnHome.TextColor3 = Color3.fromRGB(150, 150, 150) btnHome.TextSize = 16 btnHome.Parent = ScriptsSubBar local btnCenter = Instance.new("TextButton") btnCenter.Size = UDim2.new(0, 100, 1, 0) btnCenter.Position = UDim2.new(0, 120, 0, 0) btnCenter.BackgroundTransparency = 1 btnCenter.Text = "Center" btnCenter.Font = Enum.Font.GothamBold btnCenter.TextColor3 = Color3.fromRGB(0, 255, 100) btnCenter.TextSize = 16 btnCenter.Parent = ScriptsSubBar local ScriptList = Instance.new("ScrollingFrame") ScriptList.Size = UDim2.new(1, -20, 1, -95) ScriptList.Position = UDim2.new(0, 10, 0, 90) ScriptList.BackgroundTransparency = 1 ScriptList.ScrollBarThickness = 4 ScriptList.CanvasSize = UDim2.new(0, 0, 0, 0) ScriptList.Parent = ScriptsPage local ListLayout2 = Instance.new("UIListLayout") ListLayout2.Parent = ScriptList ListLayout2.SortOrder = Enum.SortOrder.LayoutOrder ListLayout2.Padding = UDim.new(0, 5) local CenterScripts = { {Name = "Infinite Yield (Admin)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()"}, {Name = "CMD-X (Admin)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/lxte/cmd/main/main.lua'))()"}, {Name = "Dex++ (Explorer)", Code = "loadstring(game:HttpGet('https://github.com/AZYsGithub/DexPlusPlus/releases/latest/download/out.lua'))()"}, {Name = "Vidas Hub (Keyless)", Code = "loadstring(game:HttpGet('https://pastebin.com/raw/1K0n4K7q'))()"}, {Name = "Orca Hub (Universal)", Code = "loadstring(game:HttpGetAsync('https://raw.githubusercontent.com/richie0866/orca/master/public/latest.lua'))()"}, {Name = "Universal ESP (ayzz7)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/ayzz7/Universal-ESP/refs/heads/main/UNIVERSAL%20ESP.lua'))()"}, {Name = "SYNCON Admin V6", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/luisguinchon/SYNCON/refs/heads/main/Syncon.txt'))()"}, {Name = "Fly GUI V3", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt'))()"}, {Name = "FE Ragdoll (Universal)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/shakk-code/fe-ragdoll-script/refs/heads/main/script.lua', true))()"}, {Name = "Owl Hub (30+ Games)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt'))()"}, {Name = "XenoHub (200+ Games)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/sskintbgs/xeno-script/refs/heads/main/main.lua'))()"}, {Name = "Beanz Hub (Universal)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/pid4k/scripts/main/BeanzHub.lua', true))()"}, {Name = "Hoho Hub V2", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/acsu123/HohoV2/main/ScriptLoad.lua'))()"}, {Name = "VG Hub (60+ Games)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/1201for/V.G-Hub/main/V.Ghub'))()"}, {Name = "Ez Hub (130+ Games)", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/Launcher.lua', true))()"}, {Name = "Monke Hub", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/KuriWasTaken/MonkeHub/main/Loader.lua'))()"}, {Name = "Rokuu Exploit Script", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/Rokuu010/Roblox-Exploit-Script/main/script.lua'))()"}, {Name = "Aether Hub", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/nguyenthetri2k1/aether-hub/main/aether.lua'))()"}, {Name = "Toasty Hub", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/nouralddin-abdullah/ToastyHub-XD/refs/heads/main/hub-main.lua'))()"}, {Name = "Roblox Egor Script", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/loldo-g/RobloxEgorScript/refs/heads/main/script.lua'))()"}, {Name = "Proton Free Admin", Code = "loadstring(game:HttpGet('https://raw.githubusercontent.com/DigitalityScripts/roblox-scripts/main/Proton%20Free'))()"}, {Name = "Admin Pack v2.1 (Universal)", Code = "loadstring(game:HttpGet('https://pastebin.com/raw/tk2rAeAH', true))()"}, {Name = "Macw1u's Admin Panel V6", Code = "loadstring(game:HttpGet('https://pastebin.com/raw/b2QM7CsH'))()"}, {Name = "Pilots Universal Hub v3", Code = "loadstring(game:HttpGet('https://pastebin.com/raw/iQeEgdHU'))()"} } local CurrentListType = "Center" local function RenderList() for _, child in pairs(ScriptList:GetChildren()) do if child:IsA("Frame") or child:IsA("TextLabel") then child:Destroy() end end local listToRender = CurrentListType == "Center" and CenterScripts or SavedScripts if #listToRender == 0 then local emptyText = Instance.new("TextLabel") emptyText.Size = UDim2.new(1, 0, 0, 50) emptyText.BackgroundTransparency = 1 emptyText.Text = "No scripts here yet..." emptyText.Font = Enum.Font.Code emptyText.TextColor3 = Color3.fromRGB(100, 100, 100) emptyText.TextSize = 16 emptyText.Parent = ScriptList return end for i, scriptData in ipairs(listToRender) do local itemFrame = Instance.new("Frame") itemFrame.Size = UDim2.new(1, -10, 0, 50) itemFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) itemFrame.Parent = ScriptList Instance.new("UICorner", itemFrame).CornerRadius = UDim.new(0, 6) local nameLbl = Instance.new("TextLabel") nameLbl.Name = "NameLbl" nameLbl.Size = UDim2.new(0.6, 0, 1, 0) nameLbl.Position = UDim2.new(0, 10, 0, 0) nameLbl.BackgroundTransparency = 1 nameLbl.Text = scriptData.Name nameLbl.Font = Enum.Font.Code nameLbl.TextColor3 = Color3.fromRGB(255, 255, 255) nameLbl.TextSize = 16 nameLbl.TextXAlignment = Enum.TextXAlignment.Left nameLbl.Parent = itemFrame local runBtn = Instance.new("TextButton") runBtn.Size = UDim2.new(0, 60, 0, 30) runBtn.Position = UDim2.new(1, -140, 0.5, -15) runBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 100) runBtn.Text = "Run" runBtn.Font = Enum.Font.GothamBold runBtn.TextColor3 = Color3.fromRGB(15, 15, 20) runBtn.Parent = itemFrame Instance.new("UICorner", runBtn).CornerRadius = UDim.new(0, 4) runBtn.MouseButton1Click:Connect(function() local success, err = pcall(function() loadstring(scriptData.Code)() end) if not success then print("Error:", err) end end) local actionBtn = Instance.new("TextButton") actionBtn.Size = UDim2.new(0, 60, 0, 30) actionBtn.Position = UDim2.new(1, -70, 0.5, -15) actionBtn.BackgroundColor3 = CurrentListType == "Center" and Color3.fromRGB(80, 130, 255) or Color3.fromRGB(255, 80, 80) actionBtn.Text = CurrentListType == "Center" and "Save" or "Delete" actionBtn.Font = Enum.Font.GothamBold actionBtn.TextColor3 = Color3.fromRGB(255, 255, 255) actionBtn.Parent = itemFrame Instance.new("UICorner", actionBtn).CornerRadius = UDim.new(0, 4) actionBtn.MouseButton1Click:Connect(function() if CurrentListType == "Center" then local alreadySaved = false for _, s in ipairs(SavedScripts) do if s.Name == scriptData.Name then alreadySaved = true break end end if not alreadySaved then table.insert(SavedScripts, {Name = scriptData.Name, Code = scriptData.Code}) saveScriptsToFile() actionBtn.Text = "Saved!" task.wait(1) actionBtn.Text = "Save" else actionBtn.Text = "Exists!" task.wait(1) actionBtn.Text = "Save" end else table.remove(SavedScripts, i) saveScriptsToFile() RenderList() end end) end ScriptList.CanvasSize = UDim2.new(0, 0, 0, ListLayout2.AbsoluteContentSize.Y + 10) end btnHome.MouseButton1Click:Connect(function() CurrentListType = "Home" btnHome.TextColor3 = Color3.fromRGB(0, 255, 100) btnCenter.TextColor3 = Color3.fromRGB(150, 150, 150) RenderList() end) btnCenter.MouseButton1Click:Connect(function() CurrentListType = "Center" btnCenter.TextColor3 = Color3.fromRGB(0, 255, 100) btnHome.TextColor3 = Color3.fromRGB(150, 150, 150) RenderList() end) RenderList() createToggle(SettingsPage, "Auto Save Scripts", true, 20, function(state) end) local bgLabel = Instance.new("TextLabel") bgLabel.Size = UDim2.new(0.8, 0, 0, 25) bgLabel.Position = UDim2.new(0.1, 0, 0, 70) bgLabel.BackgroundTransparency = 1 bgLabel.Font = Enum.Font.Code bgLabel.Text = "Background Color" bgLabel.TextColor3 = Color3.fromRGB(255, 255, 255) bgLabel.TextSize = 16 bgLabel.TextXAlignment = Enum.TextXAlignment.Left bgLabel.Parent = SettingsPage local bgOptions = { {PanelColor = Color3.fromRGB(15, 15, 20), ContentColor = Color3.fromRGB(20, 20, 25)}, {PanelColor = Color3.fromRGB(15, 30, 70), ContentColor = Color3.fromRGB(20, 45, 110)}, {PanelColor = Color3.fromRGB(70, 15, 20), ContentColor = Color3.fromRGB(110, 20, 30)} } local bgCircles = {} local currentBgIndex = SavedBackgroundIndex if currentBgIndex < 1 or currentBgIndex > #bgOptions then currentBgIndex = 1 end local function updateBgCircles() for i, data in ipairs(bgCircles) do if i == currentBgIndex then data.Stroke.Color = Color3.fromRGB(0, 150, 255) data.Stroke.Thickness = 3 data.Stroke.Transparency = 0 else data.Stroke.Color = Color3.fromRGB(0, 150, 255) data.Stroke.Thickness = 0 data.Stroke.Transparency = 1 end end end for i, opt in ipairs(bgOptions) do local circle = Instance.new("Frame") circle.Size = UDim2.new(0, 50, 0, 50) circle.Position = UDim2.new(0.1, (i-1)*65, 0, 105) circle.BackgroundColor3 = opt.PanelColor circle.Parent = SettingsPage Instance.new("UICorner", circle).CornerRadius = UDim.new(1, 0) local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(0, 150, 255) stroke.Thickness = 0 stroke.Transparency = 1 stroke.Parent = circle local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 1, 0) btn.BackgroundTransparency = 1 btn.Text = "" btn.Parent = circle local data = { Circle = circle, Stroke = stroke, Opt = opt } table.insert(bgCircles, data) btn.MouseButton1Click:Connect(function() currentBgIndex = i Panel.BackgroundColor3 = opt.PanelColor ContentFrame.BackgroundColor3 = opt.ContentColor updateBgCircles() saveBackgroundIndex(i) end) end Panel.BackgroundColor3 = bgOptions[currentBgIndex].PanelColor ContentFrame.BackgroundColor3 = bgOptions[currentBgIndex].ContentColor updateBgCircles() local isSwitching = false local function SwitchTab(page, targetSize) if isSwitching then return end isSwitching = true local tweenOut = TweenService:Create(ContentFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Position = UDim2.new(-0.6, 0, 0.5, 0)}) tweenOut:Play() tweenOut.Completed:Wait() PlayerPage.Visible = false VisualsPage.Visible = false FlyPage.Visible = false ShadersPage.Visible = false ScriptsPage.Visible = false SettingsPage.Visible = false page.Visible = true ContentFrame.Size = targetSize ContentFrame.Position = UDim2.new(-0.6, 0, 0.5, 0) local tweenIn = TweenService:Create(ContentFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0.5, 0)}) tweenIn:Play() tweenIn.Completed:Wait() isSwitching = false end local function setActiveIcon(tab) for _, t in pairs({iconPlayer, iconVisuals, iconFly, iconShaders, iconScripts, iconSettings}) do t.BackgroundColor3 = Color3.fromRGB(30, 30, 40) end tab.BackgroundColor3 = Color3.fromRGB(0, 255, 100) tab.TextColor3 = Color3.fromRGB(15, 15, 20) end setActiveIcon(iconPlayer) iconPlayer.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconPlayer) SwitchTab(PlayerPage, UDim2.new(0, 420, 0, 400)) end) iconVisuals.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconVisuals) SwitchTab(VisualsPage, UDim2.new(0, 420, 0, 400)) end) iconFly.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconFly) SwitchTab(FlyPage, UDim2.new(0, 420, 0, 400)) end) iconShaders.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconShaders) SwitchTab(ShadersPage, UDim2.new(0, 550, 0, 480)) end) iconScripts.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconScripts) SwitchTab(ScriptsPage, UDim2.new(0, 520, 0, 480)) end) iconSettings.MouseButton1Click:Connect(function() if isSwitching then return end setActiveIcon(iconSettings) SwitchTab(SettingsPage, UDim2.new(0, 420, 0, 400)) end) local OpenBtn = Instance.new("TextButton") OpenBtn.Size = UDim2.new(0, 50, 0, 50) OpenBtn.Position = UDim2.new(0, 20, 0.5, -25) OpenBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 100) OpenBtn.Text = "V" OpenBtn.Font = Enum.Font.GothamBold OpenBtn.TextColor3 = Color3.fromRGB(15, 15, 20) OpenBtn.TextSize = 24 OpenBtn.Visible = false OpenBtn.Parent = ScreenGui Instance.new("UICorner", OpenBtn).CornerRadius = UDim.new(1,0) local OpenStroke = Instance.new("UIStroke", OpenBtn); OpenStroke.Color = Color3.fromRGB(255, 255, 255); OpenStroke.Thickness = 1 local draggingOpen, openStart, openStartPos OpenBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingOpen = true; openStart = input.Position; openStartPos = OpenBtn.Position end end) UserInputService.InputChanged:Connect(function(input) if draggingOpen and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - openStart OpenBtn.Position = UDim2.new(openStartPos.X.Scale, openStartPos.X.Offset + delta.X, openStartPos.Y.Scale, openStartPos.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingOpen = false end end) iconExit.MouseButton1Click:Connect(function() isFleeing = true TweenService:Create(blur, TweenInfo.new(0.8), {Size = 0}):Play() TweenService:Create(darkOverlay, TweenInfo.new(0.8), {BackgroundTransparency = 1}):Play() TweenService:Create(Panel, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {Position = UDim2.new(-0.1, 0, 0.5, 0)}):Play() TweenService:Create(ContentFrame, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {Position = UDim2.new(-0.6, 0, 0.5, 0)}):Play() for _, data in pairs(emojiObjects) do local targetX = math.random(-20, 20) / 10 local targetY = math.random(-20, 20) / 10 TweenService:Create(data.Object, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Position = UDim2.new(targetX, 0, targetY, 0), TextTransparency = 1}):Play() end TopInfoBar.Visible = true TweenService:Create(TopInfoBar, TweenInfo.new(0.8), {BackgroundTransparency = 0.5}):Play() TweenService:Create(TopInfoStroke, TweenInfo.new(0.8), {Transparency = 0}):Play() task.wait(0.8) OpenBtn.Visible = true end) OpenBtn.MouseButton1Click:Connect(function() OpenBtn.Visible = false TweenService:Create(TopInfoBar, TweenInfo.new(0.8), {BackgroundTransparency = 1}):Play() TweenService:Create(TopInfoStroke, TweenInfo.new(0.8), {Transparency = 1}):Play() task.delay(0.8, function() TopInfoBar.Visible = false end) TweenService:Create(blur, TweenInfo.new(0.8), {Size = 15}):Play() TweenService:Create(darkOverlay, TweenInfo.new(0.8), {BackgroundTransparency = 0.5}):Play() TweenService:Create(Panel, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0.5, 0)}):Play() for _, data in pairs(emojiObjects) do TweenService:Create(data.Object, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = data.BasePos, TextTransparency = math.random(40, 80) / 100}):Play() end task.wait(0.8) isFleeing = false if ScriptsPage.Visible then TweenService:Create(ContentFrame, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0.5, 0), Size = UDim2.new(0, 520, 0, 480)}):Play() elseif ShadersPage.Visible then TweenService:Create(ContentFrame, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0.5, 0), Size = UDim2.new(0, 550, 0, 480)}):Play() else TweenService:Create(ContentFrame, TweenInfo.new(0.8, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0.5, 0), Size = UDim2.new(0, 420, 0, 400)}):Play() end end) TweenService:Create(Panel, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0.5, 0)}):Play() TweenService:Create(ContentFrame, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0.5, 0), Size = UDim2.new(0, 420, 0, 400)}):Play()