For creatorsPublish your script
Reach players with keyless, universal, or place-specific scripts.
Browse
Script Types
Tools
Community
Reach players with keyless, universal, or place-specific scripts.

🏀Basketball Legends🏀NO KEYBasketball Legends script adds powerful shooting enhancements for easier scoring in fast 5v5 matches and pickup games. With Auto Green, players can improve shot timing automatically and make cleaner releases without needing perfect manual accuracy. The script also supports extremely far shots and high contested shots, allowing you to score from longer distances and perform better even when defenders are close. These features are designed to make shooting more consistent, aggressive, and effective during every match.
1-- Basketball Legends - MAX Very Late/Early Green + Anti-Smother + Auto Guard (Scrollable GUI)2-- Mobile Friendly - No Hitbox Extender34local Players = game:GetService("Players")5local UserInputService = game:GetService("UserInputService")6local TweenService = game:GetService("TweenService")7local RunService = game:GetService("RunService")89local player = Players.LocalPlayer1011-- Settings12local enabled = true13local antiSmother = true14local farShots = true15local maxVeryLateEarly = true16local autoGuardEnabled = true1718local perfectValue = 1.301920-- ScreenGui21local screenGui = Instance.new("ScreenGui")22screenGui.Name = "LegendsMaxGreenHub"23screenGui.ResetOnSpawn = false24screenGui.Parent = player:WaitForChild("PlayerGui")2526-- Main Frame27local mainFrame = Instance.new("Frame")28mainFrame.Size = UDim2.new(0, 300, 0, 420)29mainFrame.Position = UDim2.new(0.5, -150, 0.1, 0)30mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)31mainFrame.BorderSizePixel = 032mainFrame.Visible = true33mainFrame.Parent = screenGui3435local corner = Instance.new("UICorner")36corner.CornerRadius = UDim.new(0, 14)37corner.Parent = mainFrame3839-- Title Bar40local titleBar = Instance.new("Frame")41titleBar.Size = UDim2.new(1, 0, 0, 45)42titleBar.BackgroundColor3 = Color3.fromRGB(0, 80, 220)43titleBar.Parent = mainFrame4445local titleCorner = Instance.new("UICorner")46titleCorner.CornerRadius = UDim.new(0, 14)47titleCorner.Parent = titleBar4849local titleLabel = Instance.new("TextLabel")50titleLabel.Size = UDim2.new(1, -90, 1, 0)51titleLabel.BackgroundTransparency = 152titleLabel.Text = "🏀 MAX Green Hub"53titleLabel.TextColor3 = Color3.new(1, 1, 1)54titleLabel.TextScaled = true55titleLabel.Font = Enum.Font.GothamBold56titleLabel.Parent = titleBar5758local closeBtn = Instance.new("TextButton")59closeBtn.Size = UDim2.new(0, 35, 0, 35)60closeBtn.Position = UDim2.new(1, -42, 0.5, -17.5)61closeBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50)62closeBtn.Text = "X"63closeBtn.TextColor3 = Color3.new(1, 1, 1)64closeBtn.TextScaled = true65closeBtn.Parent = titleBar6667local closeCorner = Instance.new("UICorner")68closeCorner.CornerRadius = UDim.new(0, 8)69closeCorner.Parent = closeBtn7071-- Scrollable Area72local scrolling = Instance.new("ScrollingFrame")73scrolling.Size = UDim2.new(1, -20, 1, -70)74scrolling.Position = UDim2.new(0, 10, 0, 55)75scrolling.BackgroundTransparency = 176scrolling.ScrollBarThickness = 877scrolling.ScrollBarImageColor3 = Color3.fromRGB(0, 120, 255)78scrolling.Parent = mainFrame7980local listLayout = Instance.new("UIListLayout")81listLayout.Padding = UDim.new(0, 10)82listLayout.SortOrder = Enum.SortOrder.LayoutOrder83listLayout.Parent = scrolling8485-- Floating Toggle Button86local toggleUIButton = Instance.new("TextButton")87toggleUIButton.Size = UDim2.new(0, 130, 0, 50)88toggleUIButton.Position = UDim2.new(1, -150, 0, 30)89toggleUIButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255)90toggleUIButton.Text = "Toggle UI"91toggleUIButton.TextColor3 = Color3.new(1, 1, 1)92toggleUIButton.TextScaled = true93toggleUIButton.Font = Enum.Font.GothamBold94toggleUIButton.Parent = screenGui9596local toggleCorner = Instance.new("UICorner")97toggleCorner.CornerRadius = UDim.new(0, 12)98toggleCorner.Parent = toggleUIButton99100-- Create Toggle Function101local function createToggle(txt, default, callback)102 local btn = Instance.new("TextButton")103 btn.Size = UDim2.new(1, 0, 0, 55)104 btn.BackgroundColor3 = default and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(200, 0, 0)105 btn.Text = txt .. ": " .. (default and "ON" or "OFF")106 btn.TextColor3 = Color3.new(1, 1, 1)107 btn.TextScaled = true108 btn.Font = Enum.Font.GothamSemibold109 btn.Parent = scrolling110111 local c = Instance.new("UICorner")112 c.CornerRadius = UDim.new(0, 10)113 c.Parent = btn114115 btn.MouseButton1Click:Connect(function()116 default = not default117 btn.Text = txt .. ": " .. (default and "ON" or "OFF")118 btn.BackgroundColor3 = default and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(200, 0, 0)119 if callback then callback(default) end120 end)121end122123-- Toggles124createToggle("Main Auto Perfect", enabled, function(v) enabled = v end)125createToggle("Strong Anti-Smother", antiSmother, function(v) antiSmother = v end)126createToggle("Extremely Far Shots", farShots, function(v) farShots = v end)127createToggle("MAX Very Late & Very Early Green", maxVeryLateEarly, function(v) maxVeryLateEarly = v end)128createToggle("Auto Guard", autoGuardEnabled, function(v) autoGuardEnabled = v end)129130-- Update Canvas Size131listLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()132 scrolling.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y + 30)133end)134135-- Draggable Main Frame136local mainDragging = false137local mainDragStart, mainStartPos138139titleBar.InputBegan:Connect(function(input)140 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then141 mainDragging = true142 mainDragStart = input.Position143 mainStartPos = mainFrame.Position144 end145end)146147UserInputService.InputChanged:Connect(function(input)148 if mainDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then149 local delta = input.Position - mainDragStart150 mainFrame.Position = UDim2.new(mainStartPos.X.Scale, mainStartPos.X.Offset + delta.X,151 mainStartPos.Y.Scale, mainStartPos.Y.Offset + delta.Y)152 end153end)154155UserInputService.InputEnded:Connect(function(input)156 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then157 mainDragging = false158 end159end)160161-- Draggable Toggle Button162local toggleDragging = false163local toggleDragStart, toggleStartPos164165toggleUIButton.InputBegan:Connect(function(input)166 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then167 toggleDragging = true168 toggleDragStart = input.Position169 toggleStartPos = toggleUIButton.Position170 end171end)172173UserInputService.InputChanged:Connect(function(input)174 if toggleDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then175 local delta = input.Position - toggleDragStart176 toggleUIButton.Position = UDim2.new(toggleStartPos.X.Scale, toggleStartPos.X.Offset + delta.X,177 toggleStartPos.Y.Scale, toggleStartPos.Y.Offset + delta.Y)178 end179end)180181UserInputService.InputEnded:Connect(function(input)182 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then183 toggleDragging = false184 end185end)186187-- Toggle Main GUI188local function toggleMainUI()189 mainFrame.Visible = not mainFrame.Visible190end191192closeBtn.MouseButton1Click:Connect(toggleMainUI)193toggleUIButton.MouseButton1Click:Connect(toggleMainUI)194195-- ==================== MAX GREEN FORCING ====================196local function forcePerfectShot()197 if not enabled then return end198199 -- Force meter bar200 local pgui = player.PlayerGui201 local visual = pgui:FindFirstChild("Visual") or pgui:FindFirstChildWhichIsA("ScreenGui")202 if visual then203 local shooting = visual:FindFirstChild("Shooting")204 if shooting then205 local bar = shooting:FindFirstChild("Bar") or shooting:FindFirstChild("Meter")206 if bar and bar:IsA("Frame") then207 bar.Size = UDim2.fromScale(1, 1)208 TweenService:Create(bar, TweenInfo.new(0.005), {Size = UDim2.fromScale(1, 1)}):Play()209 end210 end211 end212213 pcall(function()214 local char = player.Character215 if char then216 for _, obj in pairs(char:GetDescendants()) do217 local n = obj.Name:lower()218 if n:find("contest") or n:find("smother") or n:find("shot") or n:find("meter") 219 or n:find("release") or n:find("range") or n:find("quality") 220 or n:find("perfect") or n:find("great") or n:find("late") or n:find("early") then221 222 if obj:IsA("NumberValue") or obj:IsA("IntValue") or obj:IsA("FloatValue") then223 obj.Value = perfectValue224 elseif obj:IsA("BindableEvent") then225 obj:Fire(perfectValue)226 end227 end228 end229 end230 end)231end232233RunService.Heartbeat:Connect(forcePerfectShot)234235-- Strong burst on shoot tap (best for very late/early)236UserInputService.InputBegan:Connect(function(input)237 if enabled and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then238 for i = 1, 8 do239 task.spawn(function()240 task.wait(0.002 * i)241 forcePerfectShot()242 end)243 end244 end245end)246247-- ==================== AUTO GUARD ====================248local guardConnection249local function startAutoGuard()250 if guardConnection then guardConnection:Disconnect() end251 guardConnection = RunService.Heartbeat:Connect(function()252 if not autoGuardEnabled then return end253 local myChar = player.Character254 if not myChar or not myChar:FindFirstChild("HumanoidRootPart") then return end255 local myRoot = myChar.HumanoidRootPart256 local closest, minDist = nil, math.huge257258 for _, plr in ipairs(Players:GetPlayers()) do259 if plr ~= player and plr.Character then260 local root = plr.Character:FindFirstChild("HumanoidRootPart")261 if root then262 local hasBall = plr.Character:FindFirstChild("Basketball") or plr.Character:FindFirstChildWhichIsA("Tool")263 if hasBall then264 local dist = (myRoot.Position - root.Position).Magnitude265 if dist < minDist and dist < 60 then266 minDist = dist267 closest = root268 end269 end270 end271 end272 end273274 if closest then275 local dir = (closest.Position - myRoot.Position).Unit276 myRoot.CFrame = CFrame.lookAt(myRoot.Position, myRoot.Position + dir)277 end278 end)279end280startAutoGuard()281282print("🏀 MAX Green Scrollable Hub Loaded!")283print("Scroll up/down inside the menu on mobile.")284print("Use the blue 'Toggle UI' button to open/close.")
🏀Basketball Legends🏀By InfinitySports
Comments · …
Loading comments…