-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhelper_.lua
More file actions
28 lines (22 loc) · 794 Bytes
/
helper_.lua
File metadata and controls
28 lines (22 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--credit triple ans dendenzz
local AutoParryHelper = {}
local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer
function AutoParryHelper.FindTargetBall()
for _, ball in pairs(workspace:WaitForChild("Balls"):GetChildren()) do
if ball:IsA("BasePart") and ball:GetAttribute("realBall") then
return ball
end
end
end
function AutoParryHelper.IsPlayerTarget(ball)
return ball:GetAttribute("target") == localPlayer.Name
end
local Services = {
game:GetService('AdService'),
game:GetService('SocialService')
}
function AutoParryHelper.isAlive(Entity)
return Entity.Character and workspace.Alive:FindFirstChild(Entity.Name) and workspace.Alive:FindFirstChild(Entity.Name).Humanoid.Health > 0
end
return AutoParryHelper