No idea why this script doesn't work

Well no. My objection wasn’t with using SetPrimaryPartCFrame in this specific scenario (it wouldn’t matter since the Motor6Ds would fix it). It was just to let him know there are better solutions. My objections was with the fact that moving a character in general involves changing the root of the Motor6Ds CFrame.

Still crashes without the while loop.

AH! Once you kill the script, the zombie is spawned and working!?
What’s going on here?

I’ve figured it out!
There is a script in the zombie that has a While True do loop WITH NO WAITS!
It must have been lagging the game so much that it crashes!

Just a stupid mistake by me, sorry for wasting your time everyone!

1 Like

Remember to mark a solution so that others know this problem was fixed for you, and that they may have a similar necessary solution.

Yes I marked my comment as a solution