Universal Script 📌
7.2k Views
695 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

Updates

  1. Script edited: Create script

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
178.7k
1.7M
Bumped 2 hours ago
Key System
Universal Script 📌
9.1k
31.3k
Bumped 3 hours ago
Script hub
49.7k
12.2k
Bumped 4 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 8 hours ago
Key System
Script hub
20.5k
3.9k
Bumped 9 hours ago
Key System
Paid
Universal Script 📌
706
51
Approved 15 hours ago
Universal Script 📌
612
512
Approved 15 hours ago
Universal Script 📌
574
126
Approved 15 hours ago