local starterGUI = game:GetService("StarterGui") local player = game.Players.LocalPlayer local RunService = game:GetService("RunService") or game:FindFirstDescendant("RunService") local Players = game:GetService("Players") or game:FindFirstDescendant("Players") local Player = Players.LocalPlayer local Cooldown = tick() local IsParried = false local Connection = nil local function GetBall() for _, Ball in ipairs(workspace.Balls:GetChildren()) do if Ball:GetAttribute("realBall") then return Ball end end end local function ResetConnection() if Connection then Connection:Disconnect() Connection = nil end end workspace.Balls.ChildAdded:Connect(function() local Ball = GetBall() if not Ball then return end ResetConnection() Connection = Ball:GetAttributeChangedSignal("target"):Connect(function() Parried = false end) end) RunService.PreSimulation:Connect(function() local Ball, HRP = GetBall(), Player.Character.HumanoidRootPart if not Ball or not HRP then return end local Speed = Ball.zoomies.VectorVelocity.Magnitude local Distance = (HRP.Position - Ball.Position).Magnitude if Ball:GetAttribute("target") == Player.Name and not Parried and Distance / Speed <= 0.55 then local blockButton = Player.PlayerGui.Hotbar.Block for _, connection in pairs(getconnections(blockButton.Activated)) do connection:Fire() end for _, connection in pairs(getconnections(blockButton.MouseButton1Click)) do connection:Fire() end for _, connection in pairs(getconnections(blockButton.MouseButton1Down)) do connection:Fire() end Parried = true Cooldown = tick() if (tick() - Cooldown) >= 1 then Partied = false end end end)