
407Views
263Copies
Jul 24Updated


Toggle the auto parry with K
And if you are gonna skid, at least give credits🙂
1local starterGUI = game:GetService("StarterGui")2local player = game.Players.LocalPlayer3local RunService = game:GetService("RunService")4local Players = game:GetService("Players")5local Player = Players.LocalPlayer67local autoParryEnabled = false8local Cooldown = tick()9local IsParried = false10local Connection = nil1112local function SendNotification(title, text, duration)13 starterGUI:SetCore("SendNotification", {14 Title = title,15 Text = text,16 Duration = duration or 317 })18end1920local function GetBall()21 for _, Ball in ipairs(workspace.Balls:GetChildren()) do22 if Ball:GetAttribute("realBall") then23 return Ball24 end25 end26end2728local function ResetConnection()29 if Connection then30 Connection:Disconnect()31 Connection = nil32 end33end3435local function ToggleAutoParry()36 autoParryEnabled = not autoParryEnabled37 local status = autoParryEnabled and "ON" or "OFF"38 SendNotification("Auto Parry", "Auto Parry is now " .. status, 2)39end4041game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)42 if gameProcessed then return end43 if input.KeyCode == Enum.KeyCode.K then44 ToggleAutoParry()45 end46end)4748workspace.Balls.ChildAdded:Connect(function()49 local Ball = GetBall()50 if not Ball then return end51 ResetConnection()52 Connection = Ball:GetAttributeChangedSignal("target"):Connect(function()53 IsParried = false54 end)55end)5657RunService.PreSimulation:Connect(function()58 if not autoParryEnabled then return end59 60 local Ball = GetBall()61 local HRP = Player.Character and Player.Character:FindFirstChild("HumanoidRootPart")62 63 if not Ball or not HRP then64 return65 end66 67 local Speed = Ball.zoomies.VectorVelocity.Magnitude68 local Distance = (HRP.Position - Ball.Position).Magnitude69 70 if Ball:GetAttribute("target") == Player.Name and not IsParried and Distance / Speed <= 0.55 then71 local blockButton = Player.PlayerGui.Hotbar.Block72 73 for _, connection in pairs(getconnections(blockButton.Activated)) do74 connection:Fire()75 end76 for _, connection in pairs(getconnections(blockButton.MouseButton1Click)) do77 connection:Fire()78 end79 for _, connection in pairs(getconnections(blockButton.MouseButton1Down)) do80 connection:Fire()81 end82 83 IsParried = true84 Cooldown = tick()85 86 if (tick() - Cooldown) >= 1 then87 IsParried = false88 end89 end90end)by Wiggity. · 5 scripts · 2.9K views




Browse
Script Types
Tools
Community
Comments
Loading comments…