Fake death bug?

I was playtesting my game with some buddies and I encountered this weird bug. I got attacked and my character ragdolled, but once my character got back up the death code started to run while my character was still alive. The death script makes it so the camera locks in its position and looks at the player.

If anyone knows why this happened, please let me know.

also i just realized i spelt management wrong twice mb

Do you mind showing us the code so we can determine what’s wrong?

5 Likes

You also spelled ‘on’ incorrectly.

1 Like

Nevermind, I figured out what was causing it.