-- Created by EliasxRelaxed -- Discord: https://discord.gg/nzwqRaTBV -- Place this in a ScreenGui in PlayerGui local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "RelaxedHub" screenGui.ResetOnSpawn = false screenGui.Parent = PlayerGui -- Main Window Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 400, 0, 500) mainFrame.Position = UDim2.new(0.5, -200, 0.5, -250) mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui -- Title Bar local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 40) titleBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25) titleBar.Parent = mainFrame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(0.7, 0, 1, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Relaxed Hub v0.1" titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 20 titleLabel.TextColor3 = Color3.new(1,1,1) titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Position = UDim2.new(0, 10, 0, 0) titleLabel.Parent = titleBar local discordLabel = Instance.new("TextLabel") discordLabel.Size = UDim2.new(0.3, -10, 1, 0) discordLabel.BackgroundTransparency = 1 discordLabel.Text = "Discord: nzwqRaTBV" discordLabel.Font = Enum.Font.Gotham discordLabel.TextSize = 14 discordLabel.TextColor3 = Color3.new(0.5,0.7,1) discordLabel.TextXAlignment = Enum.TextXAlignment.Right discordLabel.Position = UDim2.new(0.7, 0, 0, 0) discordLabel.Parent = titleBar -- Close Button local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.new(0, 35, 0, 35) closeButton.Position = UDim2.new(1, -40, 0, 3) closeButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) closeButton.Text = "X" closeButton.Font = Enum.Font.GothamBold closeButton.TextSize = 18 closeButton.TextColor3 = Color3.new(1,1,1) closeButton.Parent = titleBar closeButton.MouseButton1Click:Connect(function() screenGui.Enabled = false end) -- Tab Buttons Frame local tabsFrame = Instance.new("Frame") tabsFrame.Size = UDim2.new(1, 0, 0, 40) tabsFrame.Position = UDim2.new(0, 0, 0, 40) tabsFrame.BackgroundTransparency = 1 tabsFrame.Parent = mainFrame local function createTabButton(name, posScale) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.5, -10, 1, 0) btn.Position = UDim2.new(posScale, 5, 0, 0) btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) btn.Text = name btn.Font = Enum.Font.Gotham btn.TextSize = 16 btn.TextColor3 = Color3.new(1,1,1) btn.Parent = tabsFrame return btn end local settingsTab = createTabButton("Settings", 0) local mainTab = createTabButton("Main Visual", 0.5) -- Content Frames local settingsFrame = Instance.new("ScrollingFrame") settingsFrame.Size = UDim2.new(1, 0, 1, -80) settingsFrame.Position = UDim2.new(0, 0, 0, 80) settingsFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) settingsFrame.BorderSizePixel = 0 settingsFrame.CanvasSize = UDim2.new(0, 0, 1, 0) settingsFrame.ScrollBarThickness = 6 settingsFrame.Parent = mainFrame local mainFrameContent = Instance.new("Frame") mainFrameContent.Size = UDim2.new(1, 0, 1, -80) mainFrameContent.Position = UDim2.new(0, 0, 0, 80) mainFrameContent.BackgroundColor3 = Color3.fromRGB(55, 55, 55) mainFrameContent.BorderSizePixel = 0 mainFrameContent.Visible = false mainFrameContent.Parent = mainFrame -- Tab switching settingsTab.MouseButton1Click:Connect(function() settingsFrame.Visible = true mainFrameContent.Visible = false settingsTab.BackgroundColor3 = Color3.fromRGB(80, 80, 80) mainTab.BackgroundColor3 = Color3.fromRGB(60, 60, 60) end) mainTab.MouseButton1Click:Connect(function() settingsFrame.Visible = false mainFrameContent.Visible = true settingsTab.BackgroundColor3 = Color3.fromRGB(60, 60, 60) mainTab.BackgroundColor3 = Color3.fromRGB(80, 80, 80) end) -- Initially selected settingsTab.BackgroundColor3 = Color3.fromRGB(80, 80, 80) -- FPS and Ping Display local infoBar = Instance.new("Frame") infoBar.Size = UDim2.new(1, 0, 0, 30) infoBar.Position = UDim2.new(0, 0, 1, -30) infoBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25) infoBar.BorderSizePixel = 0 infoBar.Parent = mainFrame local fpsLabel = Instance.new("TextLabel") fpsLabel.Size = UDim2.new(0.5, 0, 1, 0) fpsLabel.BackgroundTransparency = 1 fpsLabel.TextColor3 = Color3.new(1,1,1) fpsLabel.Font = Enum.Font.Gotham fpsLabel.TextSize = 16 fpsLabel.Text = "FPS: --" fpsLabel.TextXAlignment = Enum.TextXAlignment.Left fpsLabel.Position = UDim2.new(0, 10, 0, 0) fpsLabel.Parent = infoBar local pingLabel = Instance.new("TextLabel") pingLabel.Size = UDim2.new(0.5, -10, 1, 0) pingLabel.BackgroundTransparency = 1 pingLabel.TextColor3 = Color3.new(1,1,1) pingLabel.Font = Enum.Font.Gotham pingLabel.TextSize = 16 pingLabel.Text = "Ping: --" pingLabel.TextXAlignment = Enum.TextXAlignment.Right pingLabel.Position = UDim2.new(0.5, 0, 0, 0) pingLabel.Parent = infoBar RunService.RenderStepped:Connect(function(dt) fpsLabel.Text = "FPS: " .. math.floor(1/dt) pingLabel.Text = "Ping: " .. math.floor(LocalPlayer:GetNetworkPing() * 1000) .. "ms" end) -- Example settings toggles in Settings Frame local function createToggle(name, posY) local label = Instance.new("TextLabel") label.Text = name label.Size = UDim2.new(0.6, 0, 0, 30) label.Position = UDim2.new(0, 10, 0, posY) label.BackgroundTransparency = 1 label.TextColor3 = Color3.new(1,1,1) label.Font = Enum.Font.Gotham label.TextSize = 18 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = settingsFrame local toggle = Instance.new("TextButton") toggle.Size = UDim2.new(0.3, 0, 0, 30) toggle.Position = UDim2.new(0.65, 0, 0, posY) toggle.BackgroundColor3 = Color3.fromRGB(100, 100, 100) toggle.TextColor3 = Color3.new(1,1,1) toggle.Font = Enum.Font.Gotham toggle.TextSize = 16 toggle.Text = "OFF" toggle.Parent = settingsFrame local enabled = false toggle.MouseButton1Click:Connect(function() enabled = not enabled toggle.Text = enabled and "ON" or "OFF" toggle.BackgroundColor3 = enabled and Color3.fromRGB(50, 150, 50) or Color3.fromRGB(100, 100, 100) print(name, enabled and "enabled" or "disabled") -- Add your toggle logic here end) return toggle end createToggle("Anti-Ragdoll", 10) createToggle("Infinite Jump", 50) createToggle("Auto Giant Potion", 90) -- Main Visual sample button local executeButton = Instance.new("TextButton") executeButton.Size = UDim2.new(0.8, 0, 0, 50) executeButton.Position = UDim2.new(0.1, 0, 0, 20) executeButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) executeButton.TextColor3 = Color3.new(1,1,1) executeButton.Font = Enum.Font.GothamBold executeButton.TextSize = 22 executeButton.Text = "Execute Steal a Panel" executeButton.Parent = mainFrameContent executeButton.MouseButton1Click:Connect(function() print("Steal executed!") -- Add your stealing logic here end) -- Credit Label local creditLabel = Instance.new("TextLabel") creditLabel.Size = UDim2.new(1, 0, 0, 20) creditLabel.Position = UDim2.new(0, 0, 1, -20) creditLabel.BackgroundTransparency = 1 creditLabel.TextColor3 = Color3.new(1,1,1) creditLabel.Font = Enum.Font.GothamItalic creditLabel.TextSize = 14 creditLabel.Text = "Script by EliasxRelaxed" creditLabel.Parent = screenGui return screenGui