--------------------------------------------------------------------- -- ChuxHub Merged Final Script -- Complete Lightsaber & Utility Hub with Loading Screen, -- Scrolling Tabs (Saber, Kill, Other, Credits), and Full Features. -- Place this LocalScript into StarterGui. --------------------------------------------------------------------- ---------------------------- SERVICES ------------------------------- local Players = game:GetService("Players") local RepStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local StarterGui = game:GetService("StarterGui") ------------------------- PLAYER & REMOTES -------------------------- local lp = Players.LocalPlayer local LSRemotes = RepStorage:WaitForChild("LightsaberRemotes") local Equip = LSRemotes:WaitForChild("Equip") local Unequip = LSRemotes:WaitForChild("Unequip") local SetStyle = LSRemotes:WaitForChild("SetStyle") local Attack = LSRemotes:WaitForChild("Attack") local Swing = LSRemotes:WaitForChild("Swing") local OnHit = LSRemotes:WaitForChild("OnHit") local Block = LSRemotes:WaitForChild("Block") local UpdateBlock = LSRemotes:WaitForChild("UpdateBlockDirection") local stylesFolder = RepStorage:WaitForChild("LightsaberModules"):WaitForChild("Styles") ------------------------- STATE VARIABLES --------------------------- local humanoid, swingOn = nil, false local baseSpeed, animSpeed = 1, 1 local toggleKey, waitingKey = Enum.KeyCode.LeftControl, false local auraOn, auraRange = false, 8 local antiOn = false local wsValues = {16, 20, 24} local jpValues = {50, 60, 70} local curWS, curJP = 16, 50 --------------------- RAINBOW TEXT FUNCTIONALITY -------------------- local rainbow = {} local function makeRainbow(txt, spd) rainbow[txt] = { t = 0, s = spd or 1 } end spawn(function() while true do local dt = RunService.Heartbeat:Wait() for txt, data in pairs(rainbow) do if txt and txt.Parent then data.t = (data.t + dt * data.s) % 1 txt.TextColor3 = Color3.fromHSV(data.t, 1, 1) end end end end) ----------------------- UTILITY FUNCTIONS ---------------------------- local function tw(obj, props, d) return TweenService:Create(obj, TweenInfo.new(d), props) end local function playClick() local s = Instance.new("Sound", workspace) s.SoundId, s.Volume, s.PlayOnRemove = "rbxassetid://17208361335", 1, true s:Destroy() end local function corner(obj) Instance.new("UICorner", obj) end -------------------- SWING SPEED UPDATER ------------------------------- local function updateAnims() if humanoid then local A = humanoid:FindFirstChildOfClass("Animator") if A then for _, track in ipairs(A:GetPlayingAnimationTracks()) do track:AdjustSpeed(swingOn and (animSpeed/baseSpeed) or 1) end end end end lp.CharacterAdded:Connect(function(c) humanoid = c:WaitForChild("Humanoid") local A = humanoid:FindFirstChildOfClass("Animator") if A then A.AnimationPlayed:Connect(updateAnims) end updateAnims() end) if lp.Character then humanoid = lp.Character:FindFirstChild("Humanoid") updateAnims() end -------------------- OVERLAY WARNING FUNCTION ------------------------- local function showOverlay(parent, text) local f = Instance.new("Frame", parent) f.Size = UDim2.new(1, 0, 1, 0) f.BackgroundTransparency = 0.5 f.BackgroundColor3 = Color3.new(0, 0, 0) local lbl = Instance.new("TextLabel", f) lbl.Size = UDim2.new(1, 0, 0, 50) lbl.Position = UDim2.new(0, 0, 0.5, -25) lbl.BackgroundTransparency = 1 lbl.Font = Enum.Font.GothamBold lbl.TextSize = 18 lbl.TextColor3 = Color3.new(1, 0, 0) lbl.TextXAlignment = Enum.TextXAlignment.Center lbl.TextYAlignment = Enum.TextYAlignment.Center lbl.Text = text delay(5, function() f:Destroy() end) end ------------------------ BUILD MAIN GUI ------------------------------- local gui = Instance.new("ScreenGui", lp:WaitForChild("PlayerGui")) gui.Name = "ChuxHubGui" gui.ResetOnSpawn = false --------------------------------------------------------------------- -- MAIN WINDOW CREATION (DRAGGABLE & RESIZABLE) local mainFrame = Instance.new("Frame", gui) mainFrame.Size = UDim2.new(0, 320, 0, 380) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -190) mainFrame.BackgroundColor3 = Color3.new(0, 0, 0) mainFrame.BorderSizePixel = 0 local mainCorner = Instance.new("UICorner", mainFrame) mainCorner.CornerRadius = UDim.new(0, 12) mainFrame.Visible = false -- Draggable functionality local dragging = false local dragStart, startPos mainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) mainFrame.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) --------------------------------------------------------------------- -- RESTORE LOADING SCREEN (Your Provided Version) do local f = Instance.new("Frame", gui) f.Size, f.BackgroundColor3 = UDim2.new(1, 0, 1, 0), Color3.fromRGB(15,15,15) local l = Instance.new("TextLabel", f) l.Size, l.Position, l.BackgroundTransparency = UDim2.new(1, 0, 0, 50), UDim2.new(0,0,0.45,-25), 1 l.Font, l.TextSize, l.TextColor3, l.Text = Enum.Font.GothamBold, 24, Color3.new(1,1,1), "Loading…" local pBar = Instance.new("Frame", f) pBar.Size, pBar.Position, pBar.BackgroundColor3 = UDim2.new(0,0,0,4), UDim2.new(0,0,1,-4), Color3.fromRGB(100,200,100) tw(pBar, {Size = UDim2.new(1, 0, 0, 4)}, 2):Play() delay(2, function() l.Text = "Loaded" StarterGui:SetCore("SendNotification", { Title = "ChuxHub", Text = "Toggle Key: " .. toggleKey.Name, Duration = 4 }) tw(f, {BackgroundTransparency = 1}, 0.5):Play() tw(l, {TextTransparency = 1}, 0.5):Play() tw(pBar, {BackgroundTransparency = 1}, 0.5):Play() delay(0.6, function() f:Destroy(); mainFrame.Visible = true end) end) end --------------------------------------------------------------------- -- HEADER & TOP BUTTONS local header = Instance.new("Frame", mainFrame) header.Size = UDim2.new(1,0,0,40) header.BackgroundTransparency = 1 local titleLabel = Instance.new("TextLabel", header) titleLabel.Size = UDim2.new(0,220,0,28) titleLabel.Position = UDim2.new(0,16,0,10) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "ChuxHub" titleLabel.Font = Enum.Font.GothamBold titleLabel.TextScaled = true titleLabel.TextColor3 = Color3.new(1,1,1) makeRainbow(titleLabel, 1) local function createTopButton(text) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0,28,0,28) btn.Text = text btn.BackgroundColor3 = Color3.fromRGB(45,45,45) btn.Font = Enum.Font.GothamBold btn.TextSize = 18 local c = Instance.new("UICorner", btn) c.CornerRadius = UDim.new(0,6) local stroke = Instance.new("UIStroke", btn) stroke.Color = Color3.fromRGB(0,0,255) stroke.Thickness = 2 makeRainbow(btn, 1) return btn end local closeBtn = createTopButton("X") local minBtn = createTopButton("—") closeBtn.Position = UDim2.new(1,-36,0,10) minBtn.Position = UDim2.new(1,-72,0,10) closeBtn.Parent = mainFrame minBtn.Parent = mainFrame closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end) minBtn.MouseButton1Click:Connect(function() local targetSize = (mainFrame.Size.Y.Offset > 50) and UDim2.new(0,320,0,50) or UDim2.new(0,320,0,380) TweenService:Create(mainFrame, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = targetSize}):Play() end) --------------------------------------------------------------------- -- TAB BAR (ScrollingFrame) & PAGE CONTAINER local tabBarFrame = Instance.new("ScrollingFrame", mainFrame) tabBarFrame.Size = UDim2.new(1,0,0,30) tabBarFrame.Position = UDim2.new(0,0,0,40) local uiTabs = {"Saber", "Kill", "Other", "Credits"} tabBarFrame.CanvasSize = UDim2.new(0, #uiTabs * 80 + 10, 0, 0) tabBarFrame.ScrollBarThickness = 4 tabBarFrame.ScrollBarImageColor3 = Color3.fromRGB(100,100,100) tabBarFrame.BackgroundTransparency = 1 tabBarFrame.HorizontalScrollBarInset = Enum.ScrollBarInset.Always local pageContainer = Instance.new("Frame", mainFrame) pageContainer.Size = UDim2.new(1,0,1,-80) pageContainer.Position = UDim2.new(0,0,0,70) pageContainer.BackgroundTransparency = 1 -- Create pages (one for each tab) and store them in a table. local pages = {} for i, name in ipairs(uiTabs) do local btn = Instance.new("TextButton", tabBarFrame) btn.Size = UDim2.new(0,80,1,0) btn.Position = UDim2.new(0, (i-1)*80, 0, 0) btn.Font = Enum.Font.Gotham btn.TextSize = 14 btn.BackgroundColor3 = Color3.fromRGB(25,25,25) btn.TextColor3 = Color3.new(1,1,1) btn.Text = name makeRainbow(btn, 1) btn.MouseButton1Click:Connect(function() for _, v in ipairs(uiTabs) do if pages[v] then pages[v].Visible = (v == name) end end end) local page = Instance.new("Frame", pageContainer) page.Name = name .. "Page" page.Size = UDim2.new(1,0,1,0) page.BackgroundTransparency = 1 page.Visible = (name == "Saber") pages[name] = page end --------------------------------------------------------------------- -- SABER TAB do local page = pages["Saber"] local layout = Instance.new("UIListLayout", page) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0,8) local selectSaberBtn = Instance.new("TextButton", page) selectSaberBtn.Size = UDim2.new(1,0,0,30) selectSaberBtn.BackgroundColor3 = Color3.fromRGB(40,40,40) selectSaberBtn.Text = "Select Saber" selectSaberBtn.Font = Enum.Font.GothamBold selectSaberBtn.TextSize = 16 selectSaberBtn.TextColor3 = Color3.new(1,1,1) selectSaberBtn.LayoutOrder = 1 corner(selectSaberBtn) makeRainbow(selectSaberBtn, 1) local saberDropdown = Instance.new("ScrollingFrame", page) saberDropdown.Size = UDim2.new(1,0,0,0) saberDropdown.BackgroundColor3 = Color3.fromRGB(20,20,20) saberDropdown.BorderSizePixel = 0 saberDropdown.CanvasSize = UDim2.new(0,0,0,0) saberDropdown.Visible = false saberDropdown.LayoutOrder = 2 saberDropdown.ScrollBarThickness = 4 saberDropdown.ScrollingDirection = Enum.ScrollingDirection.Y local ddLayout = Instance.new("UIListLayout", saberDropdown) ddLayout.Padding = UDim.new(0,4) ddLayout.SortOrder = Enum.SortOrder.LayoutOrder ddLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() saberDropdown.CanvasSize = UDim2.new(0,0,0, ddLayout.AbsoluteContentSize.Y) saberDropdown.Size = UDim2.new(1,0,0, math.min(ddLayout.AbsoluteContentSize.Y, 100)) end) selectSaberBtn.MouseButton1Click:Connect(function() saberDropdown.Visible = not saberDropdown.Visible end) for _, style in ipairs(stylesFolder:GetChildren()) do local sBtn = Instance.new("TextButton", saberDropdown) sBtn.Size = UDim2.new(1,0,0,28) sBtn.BackgroundColor3 = Color3.fromRGB(55,55,55) sBtn.Text = style.Name sBtn.Font = Enum.Font.Gotham sBtn.TextScaled = true sBtn.TextColor3 = Color3.new(1,1,1) corner(sBtn) makeRainbow(sBtn, 1) sBtn.MouseButton1Click:Connect(function() SetStyle:FireServer(style.Name) selectSaberBtn.Text = "Saber: " .. style.Name saberDropdown.Visible = false end) end local resetSaberBtn = Instance.new("TextButton", page) resetSaberBtn.Size = UDim2.new(1,0,0,30) resetSaberBtn.BackgroundColor3 = Color3.fromRGB(40,40,40) resetSaberBtn.Text = "Reset Saber" resetSaberBtn.Font = Enum.Font.GothamBold resetSaberBtn.TextSize = 16 resetSaberBtn.TextColor3 = Color3.new(1,1,1) resetSaberBtn.LayoutOrder = 3 corner(resetSaberBtn) makeRainbow(resetSaberBtn, 1) resetSaberBtn.MouseButton1Click:Connect(function() Unequip:FireServer() task.wait(0.12) Equip:FireServer() end) local swingSpeedBtn = Instance.new("TextButton", page) swingSpeedBtn.Size = UDim2.new(1,0,0,30) swingSpeedBtn.BackgroundColor3 = Color3.fromRGB(255,0,0) swingSpeedBtn.Text = "Swing Speed [OFF]" swingSpeedBtn.Font = Enum.Font.GothamBold swingSpeedBtn.TextSize = 16 swingSpeedBtn.TextColor3 = Color3.new(1,1,1) swingSpeedBtn.LayoutOrder = 4 corner(swingSpeedBtn) makeRainbow(swingSpeedBtn, 1) swingSpeedBtn.MouseButton1Click:Connect(function() swingOn = not swingOn swingSpeedBtn.Text = "Swing Speed [" .. (swingOn and "ON" or "OFF") .. "]" updateAnims() end) local swingSpeedBox = Instance.new("TextBox", page) swingSpeedBox.Size = UDim2.new(1,0,0,30) swingSpeedBox.BackgroundColor3 = Color3.fromRGB(25,25,25) swingSpeedBox.PlaceholderText = "Set Swing Speed (default 1)" swingSpeedBox.Text = tostring(baseSpeed) swingSpeedBox.Font = Enum.Font.Gotham swingSpeedBox.TextSize = 14 swingSpeedBox.TextColor3 = Color3.new(1,1,1) swingSpeedBox.LayoutOrder = 5 corner(swingSpeedBox) swingSpeedBox.FocusLost:Connect(function(enter) local newVal = tonumber(swingSpeedBox.Text) if newVal and newVal > 0 then animSpeed = newVal updateAnims() else swingSpeedBox.Text = tostring(baseSpeed) end end) local autoBlockBtn = Instance.new("TextButton", page) autoBlockBtn.Size = UDim2.new(1,0,0,30) autoBlockBtn.BackgroundColor3 = Color3.fromRGB(255,0,0) autoBlockBtn.Text = "AutoBlock [OFF]" autoBlockBtn.Font = Enum.Font.GothamBold autoBlockBtn.TextSize = 16 autoBlockBtn.TextColor3 = Color3.new(1,1,1) autoBlockBtn.LayoutOrder = 6 corner(autoBlockBtn) makeRainbow(autoBlockBtn, 1) local autoBlockActive = false autoBlockBtn.MouseButton1Click:Connect(function() autoBlockActive = not autoBlockActive autoBlockBtn.Text = autoBlockActive and "AutoBlock [ON]" or "AutoBlock [OFF]" autoBlockBtn.BackgroundColor3 = autoBlockActive and Color3.fromRGB(0,255,0) or Color3.fromRGB(255,0,0) if autoBlockActive then spawn(function() while autoBlockActive do if not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then Block:FireServer() UpdateBlock:FireServer() end wait(0.1) end end) end end) end --------------------------------------------------------------------- -- KILL TAB do local page = pages["Kill"] local layout = Instance.new("UIListLayout", page) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0,8) local killAuraBtn = Instance.new("TextButton", page) killAuraBtn.Size = UDim2.new(1,0,0,30) killAuraBtn.BackgroundColor3 = Color3.fromRGB(255,0,0) killAuraBtn.Text = "Kill Aura [OFF]" killAuraBtn.Font = Enum.Font.GothamBold killAuraBtn.TextSize = 16 killAuraBtn.TextColor3 = Color3.new(1,1,1) killAuraBtn.LayoutOrder = 1 corner(killAuraBtn) makeRainbow(killAuraBtn, 1) local killAuraBox = Instance.new("TextBox", page) killAuraBox.Size = UDim2.new(1,0,0,30) killAuraBox.BackgroundColor3 = Color3.fromRGB(25,25,25) killAuraBox.PlaceholderText = "Set Kill Aura Range (default 8)" killAuraBox.Text = tostring(auraRange) killAuraBox.Font = Enum.Font.Gotham killAuraBox.TextSize = 14 killAuraBox.TextColor3 = Color3.new(1,1,1) killAuraBox.LayoutOrder = 2 corner(killAuraBox) killAuraBox.FocusLost:Connect(function(e) local v = tonumber(killAuraBox.Text) if v and v > 0 then auraRange = v else killAuraBox.Text = tostring(auraRange) end end) local killAuraEnabled = false local killAuraConn = nil killAuraBtn.MouseButton1Click:Connect(function() if not antiOn then return showOverlay(page, "Toggle Anti-Death first!") end killAuraEnabled = not killAuraEnabled killAuraBtn.Text = killAuraEnabled and "Kill Aura [ON]" or "Kill Aura [OFF]" killAuraBtn.BackgroundColor3 = killAuraEnabled and Color3.fromRGB(0,255,0) or Color3.fromRGB(255,0,0) if killAuraEnabled then killAuraConn = RunService.RenderStepped:Connect(function() -- If you have remotes for MouseDown/MouseUp, insert them here. -- For now we call Attack and Swing directly: Attack:FireServer(3,1,false,false) Swing:FireServer() local hrp = lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") if hrp then for _, p in ipairs(Players:GetPlayers()) do local t = p.Character and p.Character:FindFirstChild("HumanoidRootPart") if p ~= lp and t and (t.Position - hrp.Position).Magnitude < auraRange then OnHit:FireServer(p.Character) end end end end) else if killAuraConn then killAuraConn:Disconnect() end end end) local killAllBtn = Instance.new("TextButton", page) killAllBtn.Size = UDim2.new(1,0,0,30) killAllBtn.BackgroundColor3 = Color3.fromRGB(255,0,0) killAllBtn.Text = "Kill All [OFF]" killAllBtn.Font = Enum.Font.GothamBold killAllBtn.TextSize = 16 killAllBtn.TextColor3 = Color3.new(1,1,1) killAllBtn.LayoutOrder = 3 corner(killAllBtn) makeRainbow(killAllBtn, 1) local killAllActive = false killAllBtn.MouseButton1Click:Connect(function() if not killAuraEnabled then return showOverlay(page, "Toggle Kill Aura ON first!") end killAllActive = not killAllActive killAllBtn.Text = killAllActive and "Kill All [ON]" or "Kill All [OFF]" killAllBtn.BackgroundColor3 = killAllActive and Color3.fromRGB(0,255,0) or Color3.fromRGB(255,0,0) if killAllActive then spawn(function() while killAllActive do RunService.RenderStepped:Wait() for _, p in ipairs(Players:GetPlayers()) do if not killAllActive then break end if p ~= lp and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local hrp = lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") if hrp then hrp.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0,5,0) end end end end end) end end) end -- OTHER TAB do local page = pages["Other"] -- pre‐created via the tab container page.Visible = false -- will become visible when the "Other" tab is selected local layout = Instance.new("UIListLayout", page) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0, 8) local wsBtn = Instance.new("TextButton", page) wsBtn.Size = UDim2.new(1, 0, 0, 30) wsBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 0) wsBtn.Text = "Walk Speed: " .. curWS wsBtn.Font = Enum.Font.GothamBold wsBtn.TextSize = 16 wsBtn.LayoutOrder = 1 corner(wsBtn) makeRainbow(wsBtn, 1) wsBtn.MouseButton1Click:Connect(function() local idx = table.find(wsValues, curWS) or 1 idx = (idx % #wsValues) + 1 curWS = wsValues[idx] wsBtn.Text = "Walk Speed: " .. curWS if lp.Character and lp.Character:FindFirstChild("Humanoid") then lp.Character.Humanoid.WalkSpeed = curWS end end) local jpBtn = Instance.new("TextButton", page) jpBtn.Size = UDim2.new(1, 0, 0, 30) jpBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 0) jpBtn.Text = "Jump Power: " .. curJP jpBtn.Font = Enum.Font.GothamBold jpBtn.TextSize = 16 jpBtn.LayoutOrder = 2 corner(jpBtn) makeRainbow(jpBtn, 1) jpBtn.MouseButton1Click:Connect(function() local idx = table.find(jpValues, curJP) or 1 idx = (idx % #jpValues) + 1 curJP = jpValues[idx] jpBtn.Text = "Jump Power: " .. curJP if lp.Character and lp.Character:FindFirstChild("Humanoid") then lp.Character.Humanoid.JumpPower = curJP end end) -- Anti-Death Toggle (Infinite Stamina) local antiDeathBtn = Instance.new("TextButton", page) antiDeathBtn.Size = UDim2.new(1, 0, 0, 30) antiDeathBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 0) antiDeathBtn.Text = "OFF | Anti-Death" antiDeathBtn.Font = Enum.Font.GothamBold antiDeathBtn.TextSize = 16 antiDeathBtn.TextColor3 = Color3.new(1, 1, 1) corner(antiDeathBtn) makeRainbow(antiDeathBtn, 1) spawn(function() while true do if infStamActive then local character = LocalPlayer.Character if character and character:FindFirstChild("Humanoid") and character.Humanoid.Health > 0 then MouseDown:FireServer() Attack:FireServer(3, 1, false, false) MouseUp:FireServer() Swing:FireServer() OnHit:FireServer(character) FinishSwingNoBounce:FireServer() ResetSwingDirection:FireServer() end end task.wait(0.1) end end) end --------------------------------------------------------------------- -- CREDITS TAB do local page = pages["Credits"] local layout = Instance.new("UIListLayout", page) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0,8) local credLabel1 = Instance.new("TextLabel", page) credLabel1.Size = UDim2.new(1,0,0,40) credLabel1.BackgroundTransparency = 1 credLabel1.Text = "@velocityc0re - ChuxHub Creator" credLabel1.Font = Enum.Font.GothamSemibold credLabel1.TextScaled = true credLabel1.TextXAlignment = Enum.TextXAlignment.Center makeRainbow(credLabel1, 1) local credLabel2 = Instance.new("TextLabel", page) credLabel2.Size = UDim2.new(1,0,0,40) credLabel2.BackgroundTransparency = 1 credLabel2.Text = "@88990395 - Beta Tester / Idea Manager" credLabel2.Font = Enum.Font.GothamSemibold credLabel2.TextScaled = true credLabel2.TextXAlignment = Enum.TextXAlignment.Center makeRainbow(credLabel2, 1) local discordBox = Instance.new("TextBox", page) discordBox.Size = UDim2.new(1,0,0,30) discordBox.BackgroundColor3 = Color3.fromRGB(20,20,20) discordBox.Text = "https://discord.gg/ZAQqarsheG" discordBox.Font = Enum.Font.Gotham discordBox.TextScaled = true discordBox.TextColor3 = Color3.new(1,1,1) discordBox.ClearTextOnFocus = false discordBox.MultiLine = false discordBox.Selectable = true discordBox.Active = false discordBox.TextEditable = false discordBox.TextXAlignment = Enum.TextXAlignment.Center makeRainbow(discordBox, 1) end --------------------------------------------------------------------- -- UI TOGGLE (RightShift toggles UI visibility) local uiVisible = true local debounce = false UserInputService.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == Enum.KeyCode.RightShift and not debounce then debounce = true uiVisible = not uiVisible gui.Enabled = uiVisible wait(0.3) debounce = false end end)