recently in my game, the NPCs have been able to hit shots they shouldn’t be able to hit (the player appears to be far out of their range, but still gets hit). hit box module is hitbox service.
on hitbox being called
function AnimatronicModule:FireHitbox()
local NewHitbox = HitBoxModule:CreateWithPart(self.Hitbox, Params)
NewHitbox:Start()
local HitTable = {}
local Items = NewHitbox:GetItems()
for i,Object in pairs(Items) do
self:HandleHitboxTouch(Object, HitTable)
end
end
I’m pretty sure the hitbox issue is happening cause of server client difference, how could I solve this? (I am willing to use different modules)
The red box is the hitbox, I am clearly out of the range.