Re-run all my scripts after player respawns

You can write your topic however you want, but you need to answer these questions:

  1. What do I want to achieve?
    Under my PlayerStarterScripts, I have a LocalScript and a few ModuleScripts under that LocalScript. I want all these scripts to be run again after a player respawns.

  2. What is the issue?
    These scripts connect a function to my GUI buttons. After player respawns, all the connections are gone.

  3. What solutions have I tried so far?
    I have tried putting my scripts in PlayerCharacterScript. However, the module scripts are causing an error because they cannot be found in the PlayerCharacterScript folder after the player spawns.

Are there anyways I can solve this issue?

Move it to PlayerGui and they should run when you respawn I believe.

Iā€™m trying to keep my scripts away from PlayerGui as I load my GUI components based on dynamic data.

You could try the CharacterAdded event.

What if you stored the LocalScripts in StarterCharacterScripts, and the ModuleScripts in StarterPlayerScripts?