I have modified the y3llowMustang (youtube) or kangerujack (roblox) "Zombie Completed Video" free model. My current code is in the pastebin below. I am struggling with the fact that the zombie seems to really reach for a player when the range is 5 studs but works like it should expect for this issue. 4 studs also seems like it's reaching for air while hitting the player. At 3 studs, the zombie hardly ever nabs at the player unless the player lets the zombie. The main reason for this is client/server lag. The player's character on the server is updated slower than what you see. How do 'big' games accomplish an attacking zombie without giving the player the feeling that they were hit unfairly?

My code is below in this pastebin https://pastebin.com/tqAqMyFS

PS: I added networkOwnership to help prevent "stutters" from switching between the passing of the ownership.