Universal Script 📌
4.6k Views
134 Executions

Simple auto parry open src

Universal Script 📌
JosiahScripts
JosiahScriptsFirst script
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

I just got bored so I made an auto parry I'm new at coding, but you can judge it if you want 🙈 https://dsc.gg/cryzixbb I only made this for 25minutes so don't expect for it to be good or smth

Updates

  1. Script edited: Update script

  2. Script edited: Update script

View Raw
-- FIXED

setfpscap(120)

getgenv().AutoParry = true

local inputManager = game:GetService("VirtualInputManager")
local runService = game:GetService("RunService")
local localPlayer = game:GetService("Players").LocalPlayer

local function FindTargetBall()
    for _, ball in workspace:WaitForChild("Balls"):GetChildren() do
        if ball:IsA("BasePart") and ball:GetAttribute("realBall") then
            return ball
        end
    end
end

local function IsPlayerTarget(ball)
    return ball:GetAttribute("target") == localPlayer.Name
end

local eventTriggered = false

task.spawn(function()
    runService.PreRender:Connect(function()
        if not getgenv().AutoParry then return end

        local currentBall = FindTargetBall()
        if not currentBall then return end

        local currentBallVelocity = currentBall.AssemblyLinearVelocity
        if currentBall:FindFirstChild('zoomies') then 
            currentBallVelocity = currentBall.zoomies.VectorVelocity
        end

        local currentBallPosition = currentBall.Position
        local playerCharacterPosition = localPlayer.Character.PrimaryPart.Position
        local directionFromBallToPlayer = (playerCharacterPosition - currentBallPosition).Unit
        local distanceFromPlayerToBall = localPlayer:DistanceFromCharacter(currentBallPosition)


Comments

11
Log in to join the conversation. Login
JosiahScripts's profile picture
JosiahScriptsUploader2 years ago

It should work now

2
cr9l's profile picture
cr9l6 months ago

Update 5-25-26 Doesn't work anymore due to the new roblox update

1
cr9l's profile picture
cr9l6 months ago

Works on Solara

1
JosiahScripts's profile picture
JosiahScriptsUploader2 years ago

I didn't check if it works lol but nvm I'll fix it whatever

1
WithLeaxy's profile picture
WithLeaxy2 years ago

Bro hes first script dont be a rude u cant even a text a code guys u making good but you making false something

1
JosiahScripts's profile picture
JosiahScriptsUploader2 years ago

It should work on delta :3

1
Haider's profile picture
Haider2 years ago

ty

1

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 7 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.5k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System