Hoopz Script | AUTO-GAURD

Created by magnetwashere

Features:

  • AUTO-GAURD
local tr = false
local Mouse = game.Players.LocalPlayer:GetMouse()

game:GetService("UserInputService").InputBegan:Connect(function(key, gpe)
    if key.KeyCode == Enum.KeyCode.X and not gpe and tr == false then
            tr = true
            for i, v in pairs(game.Players:GetPlayers()) do
                local char = game.Players.LocalPlayer.Character
                if v.Name ~= char.Name and (v.Character.Torso.CFrame.p - char.Torso.CFrame.p).Magnitude < 25 then
                    while tr == true do
                        if v.Character.Torso.Velocity.magnitude > 0.5 and v.Character:FindFirstChild("Basketball") then
                            char.Humanoid:MoveTo(v.Character.Torso.CFrame.p + v.Character.Torso.Velocity.unit * 7)
                        elseif v.Character.Torso.Velocity.magnitude < 0.5 and v.Character:FindFirstChild("Basketball") then 
                            char.Humanoid:MoveTo(v.Character.Torso.CFrame.p)
                        elseif not v.Character:FindFirstChild("Basketball") then
                            tr = false
                        end
                        wait()
                    end
                end
            end
        elseif key.KeyCode == Enum.KeyCode.X and not gpe and tr == true then
            tr = false
        end
    end
)

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

More Scripts!

TOP 10 TRENDING SCRIPTS