
7.1k Views
505 Executions
Auto parry
Universal Script 📌
JustSharePublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Simple logic for auto Parry and following balls
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local VirtualInputManager = game:GetService("VirtualInputManager")
local Player = Players.LocalPlayer
local connection
local previousVelocity = nil
local previousPlayerPosition = nil
local hitboxLine = nil
local function GetBallFromFolder(folder)
for _, ball in ipairs(folder:GetChildren()) do
if ball:GetAttribute("realBall") then
if ball:GetAttribute("parried") == nil then
ball:SetAttribute("parried", false)
end
return ball
end
end
return nil
end
local function ResetConnection()
if connection then
connection:Disconnect()
connection = nil
end
end
workspace.Balls.ChildAdded:Connect(function(child)
if Player.Character and Player.Character.Parent and Player.Character.Parent.Name == "Alive" then
local ball = GetBallFromFolder(workspace.Balls)
if not ball then return end
ResetConnection()
connection = ball:GetAttributeChangedSignal("target"):Connect(function()
ball:SetAttribute("parried", false)
end)
end
end)









@skuidigaming1 I have tried it and it works normally, the only drawback is during training, you can adjust that
Like 0,55 for Threshold
@skuidigaming1 Are you sure about that? You can adjusment Threshold for parry
bro its just following the ball and do nothing but die