Universal Script 📌
7.1k Views
505 Executions

Auto parry

Universal Script 📌
JustShare
JustSharePublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Simple logic for auto Parry and following balls

View Raw
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)



Comments

4
Log in to join the conversation. Login
JustShare's profile picture
JustShareUploader2 years ago(edited)

@skuidigaming1 I have tried it and it works normally, the only drawback is during training, you can adjust that

1
JustShare's profile picture
JustShareUploader2 years ago(edited)

Like 0,55 for Threshold

1
JustShare's profile picture
JustShareUploader2 years ago(edited)

@skuidigaming1 Are you sure about that? You can adjusment Threshold for parry

1
skuidigaming1's profile picture
skuidigaming12 years ago(edited)

bro its just following the ball and do nothing but die

1

Tags

More universal scripts

See all
Script hub
2.3k
2.2k
Bumped 15 minutes ago
Key System
Universal Script 📌
26
1
Approved 26 minutes ago
Script hub
2.8M
661.5k
Bumped 1 hour ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
95
14
Approved 3 hours ago
Universal Script 📌
4.2k
185.8k
Bumped 10 hours ago