How to make player camera unmovable

Hi guys, I made a losing screen that will show when the player dies. The problem is that I can still move my mouse (and the camera is moving) when the death screen is on. I have no idea how to make the camera unmovable when the player dies. Perhaps I should change the mouse sens to 0? Please help I’m desperate :slight_smile:

How on Earth do you make everything else but you can’t do this?
I know I know, you watched a tutorial. It’s the best tutorial ever, and now you want to endlessly customize something which nobody has time to reverse-engineer into something that is actually customizable, not even its author.

You can take the code that controls your camera movement and wrap it in an “if” statement that checks if the player is alive.

You could also just disable the whole script when the player dies.