In my new game, I have a Local Script in the StarterGui that Plays an Audio file, Stops it, waits a few minutes, and repeats. However, I've ran into a problem. Since the Local Script is in StarterGui, it is removed from the PlayerGui and reloaded upon the player reseting/dying. This means that the music stops, and resets the playlist, starting again at the first song.
Is there a way to make it so the Local Script is not removed/deleted/replaced when the player respawns?
Try disabling "ResetPlayerGuiOnSpawn" in the StarterGui properties