Gets how many hit boxes are in a given hit box group.
1 number group
The number of the hit box group.
The number of hit boxes.
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!