-- [[ 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 ]] -- BLUE & BLACK BASKETBALL GUI -- Roblox Studio | LocalScript -- Place in StarterPlayer > StarterPlayerScripts local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Lighting = game:GetService("Lighting") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Prevent duplicate GUIs local oldGui = playerGui:FindFirstChild("BasketballHub") if oldGui then oldGui:Destroy() end local BLUE = Color3.fromRGB(30, 120, 255) local DARK = Color3.fromRGB(13, 17, 27) local PANEL = Color3.fromRGB(22, 29, 43) local BUTTON = Color3.fromRGB(34, 43, 61) local WHITE = Color3.fromRGB(240, 245, 255) local GREEN = Color3.fromRGB(25, 170, 105) local features = { "Auto Green", "Dribble Glide", "Shot Glide", "Auto Guard", "Auto Contest", "Auto Rebound", "Auto Block", "Auto Steal", "Anti Ankle Breaker", "Infinite Stamina", "Anti Steal", "Anti Out of Bounds", "FPS Boost" } local enabled = {} for _, name in ipairs(features) do enabled[name] = false end local gui = Instance.new("ScreenGui") gui.Name = "BasketballHub" gui.ResetOnSpawn = false gui.DisplayOrder = 20 gui.Parent = playerGui -- Main window local main = Instance.new("Frame") main.Name = "Main" main.Size = UDim2.fromOffset(320, 490) main.Position = UDim2.new(0, 25, 0.5, -245) main.BackgroundColor3 = DARK main.BorderSizePixel = 0 main.ClipsDescendants = true main.Parent = gui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 12) mainCorner.Parent = main local outline = Instance.new("UIStroke") outline.Color = BLUE outline.Thickness = 1.5 outline.Parent = main -- Header local header = Instance.new("Frame") header.Size = UDim2.new(1, 0, 0, 58) header.BackgroundColor3 = BLUE header.BorderSizePixel = 0 header.Parent = main local title = Instance.new("TextLabel") title.Position = UDim2.fromOffset(14, 5) title.Size = UDim2.new(1, -65, 0, 28) title.BackgroundTransparency = 1 title.Text = "BASKETBALL HUB" title.TextColor3 = WHITE title.Font = Enum.Font.GothamBold title.TextSize = 18 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = header local subtitle = Instance.new("TextLabel") subtitle.Position = UDim2.fromOffset(15, 32) subtitle.Size = UDim2.new(1, -25, 0, 17) subtitle.BackgroundTransparency = 1 subtitle.Text = "BLUE EDITION • PERFORMANCE" subtitle.TextColor3 = WHITE subtitle.Font = Enum.Font.Gotham subtitle.TextSize = 10 subtitle.TextXAlignment = Enum.TextXAlignment.Left subtitle.Parent = header local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(32, 32) close.Position = UDim2.new(1, -40, 0, 12) close.BackgroundColor3 = Color3.fromRGB(15, 65, 150) close.Text = "X" close.TextColor3 = WHITE close.Font = Enum.Font.GothamBold close.TextSize = 15 close.Parent = header local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 7) closeCorner.Parent = close -- Live FPS display local fpsLabel = Instance.new("TextLabel") fpsLabel.Position = UDim2.fromOffset(12, 66) fpsLabel.Size = UDim2.new(1, -24, 0, 36) fpsLabel.BackgroundColor3 = PANEL fpsLabel.Text = "FPS: --" fpsLabel.TextColor3 = Color3.fromRGB(90, 190, 255) fpsLabel.Font = Enum.Font.GothamBold fpsLabel.TextSize = 17 fpsLabel.Parent = main local fpsCorner = Instance.new("UICorner") fpsCorner.CornerRadius = UDim.new(0, 7) fpsCorner.Parent = fpsLabel -- Feature list local list = Instance.new("ScrollingFrame") list.Name = "FeatureList" list.Position = UDim2.fromOffset(12, 110) list.Size = UDim2.new(1, -24, 1, -122) list.BackgroundTransparency = 1 list.BorderSizePixel = 0 list.ScrollBarThickness = 4 list.ScrollBarImageColor3 = BLUE list.AutomaticCanvasSize = Enum.AutomaticSize.Y list.CanvasSize = UDim2.new(0, 0, 0, 0) list.Parent = main local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 7) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Parent = list local padding = Instance.new("UIPadding") padding.PaddingBottom = UDim.new(0, 6) padding.Parent = list -- Save visual settings for FPS Boost local savedEffects = {} local qualityBeforeBoost local qualityAvailable = false for _, effect in ipairs(Lighting:GetDescendants()) do if effect:IsA("PostEffect") then savedEffects[effect] = effect.Enabled end end local function setFPSBoost(state) if state then -- Reduce supported local graphics quality. local ok, quality = pcall(function() return settings().Rendering.QualityLevel end) if ok then qualityBeforeBoost = quality qualityAvailable = pcall(function() settings().Rendering.QualityLevel = Enum.QualityLevel.Level01 end) end -- Disable optional post-processing. for _, effect in ipairs(Lighting:GetDescendants()) do if effect:IsA("PostEffect") then if savedEffects[effect] == nil then savedEffects[effect] = effect.Enabled end effect.Enabled = false end end else -- Restore the prior quality setting when supported. if qualityAvailable and qualityBeforeBoost then pcall(function() settings().Rendering.QualityLevel = qualityBeforeBoost end) end for effect, wasEnabled in pairs(savedEffects) do if effect.Parent then effect.Enabled = wasEnabled end end end end local function createToggle(name, index) local row = Instance.new("Frame") row.Name = name:gsub("%s+", "") row.Size = UDim2.new(1, -4, 0, 43) row.BackgroundColor3 = BUTTON row.BorderSizePixel = 0 row.LayoutOrder = index row.Parent = list local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 7) corner.Parent = row local label = Instance.new("TextLabel") label.Position = UDim2.fromOffset(11, 0) label.Size = UDim2.new(1, -90, 1, 0) label.BackgroundTransparency = 1 label.Text = name label.TextColor3 = WHITE label.TextSize = 13 label.Font = Enum.Font.GothamMedium label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = row local toggle = Instance.new("TextButton") toggle.Size = UDim2.fromOffset(65, 29) toggle.Position = UDim2.new(1, -73, 0.5, -14) toggle.BackgroundColor3 = Color3.fromRGB(65, 72, 86) toggle.Text = "OFF" toggle.TextColor3 = WHITE toggle.TextSize = 12 toggle.Font = Enum.Font.GothamBold toggle.Parent = row local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 6) toggleCorner.Parent = toggle toggle.Activated:Connect(function() enabled[name] = not enabled[name] local state = enabled[name] toggle.Text = state and "ON" or "OFF" toggle.BackgroundColor3 = state and BLUE or Color3.fromRGB(65, 72, 86) if name == "FPS Boost" then setFPSBoost(state) else -- Connect the actual mechanic here in your own game. print(name, state and "ON" or "OFF") end end) end for index, name in ipairs(features) do createToggle(name, index) end -- Draggable window local dragging = false local dragStart local startPosition header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = main.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then local delta = input.Position - dragStart main.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) close.Activated:Connect(function() gui:Destroy() end) -- Live FPS counter local frameCount = 0 local elapsed = 0 local fpsConnection fpsConnection = RunService.RenderStepped:Connect(function(dt) if not gui.Parent then fpsConnection:Disconnect() return end frameCount += 1 elapsed += dt if elapsed >= 0.5 then local fps = math.floor(frameCount / elapsed + 0.5) fpsLabel.Text = "FPS: " .. fps if fps >= 100 then fpsLabel.TextColor3 = Color3.fromRGB(70, 230, 140) elseif fps >= 60 then fpsLabel.TextColor3 = Color3.fromRGB(90, 190, 255) else fpsLabel.TextColor3 = Color3.fromRGB(255, 190, 70) end frameCount = 0 elapsed = 0 end end) print("Basketball Hub loaded successfully!")