Advertisement
LSJiqueue

Realistic Hoops

Jul 16th, 2024 (edited)
4,817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.12 KB | None | 0 0
  1. local lib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local plr = game:GetService("Players").LocalPlayer
  3. local character = plr.Character or plr.CharacterAdded:Wait()
  4. local uis = game:GetService("UserInputService")
  5. local findCourt
  6. local bb
  7. local updatingCourtMsg = true
  8. local bm = false
  9. local ag = false
  10. local autoGreen = false
  11. local sh = false
  12. local speed = false
  13. local speedamnt;
  14. local deb = false
  15. task.spawn(function()
  16. --update court
  17. while task.wait(5) do
  18.     if updatingCourtMsg == true then
  19.     lib:MakeNotification({
  20.     Name = "Realistic Hoops";
  21.     Content = "Updating Current Court";
  22.     Time = 4;
  23.     })
  24.     end
  25.      for i, v in pairs(game:GetService("Workspace"):FindFirstChild("Courts"):GetDescendants()) do
  26.        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
  27.           findCourt = v.Parent.Parent
  28.           bb = findCourt:FindFirstChild("Basketball")
  29.           if findCourt then warn("Court Found".." ".. findCourt.Name) end
  30.           if bb then warn("Basketball found") end
  31.        end
  32.     end
  33.   end
  34. end)
  35. local window = lib:MakeWindow({
  36.    Name = "Realistic Hoops",
  37.    IntroEnabled = true,
  38.    IntroText = "Realistic Hoops by LSJiqueue",
  39.    HidePremium = true,
  40.    SaveConfig = true,
  41.    ConfigFolder = "Reahlistic Hoops Configs"
  42. })
  43. lib:MakeNotification({
  44.    Name = "Yo!";
  45.    Content = "This script is made by LSJiqueue. Search LSJiqueue on Youtube!";
  46.    Time = 5;
  47. })
  48. lib:MakeNotification({
  49.    Name = "Yo!";
  50.    Content = "This is the best script for this game right now!";
  51.    Time = 5;
  52. })
  53. local main = window:MakeTab({
  54.    Name = "Main";
  55.    PremiumOnly = false;
  56. })
  57. local misc = window:MakeTab({
  58.    Name = "Misc";
  59.    PremiumOnly = false;
  60. })
  61. misc:AddToggle({
  62.    Name = "Updating Court Messages";
  63.    Default = true;
  64.    Callback = function(v)
  65.       if v == false then
  66.          updatingCourtMsg = false
  67.       else
  68.       updatingCourtMsg = true
  69.       end
  70.    end
  71. })
  72. local info = window:MakeTab({
  73.    Name = "Information";
  74.    PremiumOnly = false;
  75. })
  76. info:AddParagraph("Ball Magnet","Automatically rebounds the ball for you without having to be under the basket");
  77. info:AddParagraph("Auto Guard","Automatically guards the person with the basketball");
  78. info:AddParagraph("Auto Green","Shoots the ball at max percentage. Keybind for Auto Green is Q");
  79. info:AddParagraph("Bigger Steal Hitbox","Allows you to the steal the ball from farther distance. VERY OP WHEN USED WITH AUTO GUARD!");
  80. main:AddToggle({
  81.   Name = "Ball Magnet";
  82.   Default = false;
  83.   Callback = function(v)
  84.       bm = v
  85.       print(v, bm)
  86.       if bm == true then
  87.          local basketball = findCourt:FindFirstChild("Basketball")
  88.            if basketball then
  89.               basketball:FindFirstChild("PickUpEnabled"):GetPropertyChangedSignal("Value"):Connect(function()
  90.                   if basketball:FindFirstChild("Reboundable").Value == true and basketball:FindFirstChild("PickUpEnabled").Value == true and bm == true then
  91.                   task.wait(0.5)
  92.                     print("attempting rebound")
  93.                     character:FindFirstChild("HumanoidRootPart").CFrame = basketball.CFrame;
  94.                 end
  95.               end)
  96.          end
  97.       end
  98. end
  99. })
  100. main:AddToggle({
  101.   Name = "Auto Guard";
  102.   Default = false;
  103.   Callback = function(v)
  104.       ag = v
  105.       print(ag)
  106.       if ag == true then
  107.          local basketball = findCourt:FindFirstChild("Basketball")
  108.          print(basketball:FindFirstChild("Player").Value)
  109.          while ag == true do
  110.          task.wait()
  111.             if basketball:FindFirstChild("Player").Value == nil or basketball:FindFirstChild("Player").Value == plr then
  112.                warn("Ball is nil or in your hands")
  113.            else
  114.            character.HumanoidRootPart.CFrame = basketball:FindFirstChild("Player").Value.Character:FindFirstChild("HumanoidRootPart").CFrame + Vector3.new(3, 0, 0)
  115.            end
  116.          end
  117.       end
  118.   end
  119. })
  120. main:AddToggle({
  121.   Name = "Auto Green";
  122.   Default = false;
  123.   Callback = function(v)
  124.       autoGreen = v
  125.       print(autoGreen)
  126.           if autoGreen == true then
  127.               uis.InputBegan:Connect(function(i, g)
  128.                   if g then return end
  129.                   if i.KeyCode == Enum.KeyCode.Q and autoGreen == true then
  130.                      local args = {
  131.                     [1] = true,
  132.                     [2] = 100,
  133.                     [4] = false,
  134.                     [5] = false
  135.                     }
  136.                     game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Shoot"):FireServer(unpack(args))
  137.                     local args = {
  138.                     [1] = false,
  139.                     [2] = -1,
  140.                     [3] = true
  141.                     }
  142.                     game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Shoot"):FireServer(unpack(args))
  143.                   end
  144.               end)
  145.          end
  146.       end
  147.  
  148. })
  149. main:AddToggle({
  150.   Name = "Bigger Steal Hitbox";
  151.   Default = false;
  152.   Callback = function(v)
  153.     sh = v
  154.     print(sh)
  155.         while sh == true do
  156.         task.wait()
  157.         local basketball = findCourt:FindFirstChild("Basketball")
  158.         if sh == true then
  159.         basketball.Size = Vector3.new(6,6,6)
  160.         elseif sh == false then
  161.         basketball.Size = Vector3.new(1,1,1)
  162.         end
  163.     end  
  164.   end
  165. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement