Camera Shake When Character Respawns

Hi, I’m a beginner developer. (I used a translator for this message.)

I’m using a camera shaker, but the screen shake effect disappears when the character dies and respawns.
I’d like to know if there is a way to keep the screen shake effect active even after the character respawns.

Here is the camera shaker module I’m using : Module

Thank you for reading my post!

2 Likes

I’m supposing that the camera shaker script is inside StarterCharacterScripts.
If you want the shaking to continue after the player dies, you’ll either have to somehow keep track of if the camera was shaking, and if so, continue shaking when the script reloads with the character.
However I’d say, that it’d be easier to just move the script to StarterPlayerScripts and possibly add a bit of extra code to assure, that it would work correctly.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.