#after some time if magnitude distance then checks will always doesn't work

1 messages · Page 1 of 1 (latest)

coarse zenith
#

(hitchar is enemy character) Since my game have client hitboxes and using remote for damage(since how else could i make it damage) i secured it to only able to hit if you attacking and in 50 studs BUT APPERANTLY after some slashes hit event DOESN'T Work because OF IT and i have no IDEA why it happens.

here line code if some ppl needed.

if canattack == true and hitchar.GodMode.Value == false and hitchar:WaitForChild("Team").Value ~= char:WaitForChild("Team").Value and (hitchar.PrimaryPart.Position - char.PrimaryPart.Position).Magnitude <= 50 then
#

and here full code of server and client: