Entity:GetHitBoxCount
Description
Gets how many hit boxes are in a given hit box group.
Arguments
Returns
Example
Will print out how many hit boxes the client has in each of their hit box groups.
local numHitBoxGroups = LocalPlayer():GetHitboxSetCount()
for i = 0, numHitBoxGroups - 1 do
local numHitBoxes = LocalPlayer():GetHitBoxCount( i )
print( "Hit box group " .. i .. " has " .. numHitBoxes .. " hit boxes!" )
end
Output: Hit box group 0 has 17 hit boxes!