local lib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))() local plr = game:GetService("Players").LocalPlayer local character = plr.Character or plr.CharacterAdded:Wait() local uis = game:GetService("UserInputService") local findCourt local bb local updatingCourtMsg = true local bm = false local ag = false local autoGreen = false local sh = false local speed = false local speedamnt; local deb = false task.spawn(function() --update court while task.wait(5) do if updatingCourtMsg == true then lib:MakeNotification({ Name = "Realistic Hoops"; Content = "Updating Current Court"; Time = 4; }) end for i, v in pairs(game:GetService("Workspace"):FindFirstChild("Courts"):GetDescendants()) do if v.Name == "Player1" and v.Value == plr.Name or v.Name == "Player2" and v.Value == plr.Name or v.Name == "Player3" and v.Value == plr.Name or v.Name == "Player4" and v.Value == plr.Name or v.Name == "Player5" and v.Value == plr.Name or v.Name == "Player6" and v.Value == plr.Name then findCourt = v.Parent.Parent bb = findCourt:FindFirstChild("Basketball") if findCourt then warn("Court Found".." ".. findCourt.Name) end if bb then warn("Basketball found") end end end end end) local window = lib:MakeWindow({ Name = "Realistic Hoops", IntroEnabled = true, IntroText = "Realistic Hoops by LSJiqueue", HidePremium = true, SaveConfig = true, ConfigFolder = "Reahlistic Hoops Configs" }) lib:MakeNotification({ Name = "Yo!"; Content = "This script is made by LSJiqueue. Search LSJiqueue on Youtube!"; Time = 5; }) lib:MakeNotification({ Name = "Yo!"; Content = "This is the best script for this game right now!"; Time = 5; }) local main = window:MakeTab({ Name = "Main"; PremiumOnly = false; }) local misc = window:MakeTab({ Name = "Misc"; PremiumOnly = false; }) misc:AddToggle({ Name = "Updating Court Messages"; Default = true; Callback = function(v) if v == false then updatingCourtMsg = false else updatingCourtMsg = true end end }) local info = window:MakeTab({ Name = "Information"; PremiumOnly = false; }) info:AddParagraph("Ball Magnet","Automatically rebounds the ball for you without having to be under the basket"); info:AddParagraph("Auto Guard","Automatically guards the person with the basketball"); info:AddParagraph("Auto Green","Shoots the ball at max percentage. Keybind for Auto Green is Q"); info:AddParagraph("Bigger Steal Hitbox","Allows you to the steal the ball from farther distance. VERY OP WHEN USED WITH AUTO GUARD!"); main:AddToggle({ Name = "Ball Magnet"; Default = false; Callback = function(v) bm = v print(v, bm) if bm == true then local basketball = findCourt:FindFirstChild("Basketball") if basketball then basketball:FindFirstChild("PickUpEnabled"):GetPropertyChangedSignal("Value"):Connect(function() if basketball:FindFirstChild("Reboundable").Value == true and basketball:FindFirstChild("PickUpEnabled").Value == true and bm == true then task.wait(0.5) print("attempting rebound") character:FindFirstChild("HumanoidRootPart").CFrame = basketball.CFrame; end end) end end end }) main:AddToggle({ Name = "Auto Guard"; Default = false; Callback = function(v) ag = v print(ag) if ag == true then local basketball = findCourt:FindFirstChild("Basketball") print(basketball:FindFirstChild("Player").Value) while ag == true do task.wait() if basketball:FindFirstChild("Player").Value == nil or basketball:FindFirstChild("Player").Value == plr then warn("Ball is nil or in your hands") else character.HumanoidRootPart.CFrame = basketball:FindFirstChild("Player").Value.Character:FindFirstChild("HumanoidRootPart").CFrame + Vector3.new(3, 0, 0) end end end end }) main:AddToggle({ Name = "Auto Green"; Default = false; Callback = function(v) autoGreen = v print(autoGreen) if autoGreen == true then uis.InputBegan:Connect(function(i, g) if g then return end if i.KeyCode == Enum.KeyCode.Q and autoGreen == true then local args = { [1] = true, [2] = 100, [4] = false, [5] = false } game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Shoot"):FireServer(unpack(args)) local args = { [1] = false, [2] = -1, [3] = true } game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Shoot"):FireServer(unpack(args)) end end) end end }) main:AddToggle({ Name = "Bigger Steal Hitbox"; Default = false; Callback = function(v) sh = v print(sh) while sh == true do task.wait() local basketball = findCourt:FindFirstChild("Basketball") if sh == true then basketball.Size = Vector3.new(6,6,6) elseif sh == false then basketball.Size = Vector3.new(1,1,1) end end end })