Some Help with my Music System

Hello. I need some help with my Music System

I have created a music system in my roblox game, where a song will play once you join the game. There is two buttons, one to skip the song, and one to mute the music. Both of these buttons work just fine and the music system is basically good to go, but recently, I discovered an issue with it.

Recently, I have realized that whenever a player dies or resets and respawns, the first music of the whole playlist starts playing from the beginning again. I have a blue bar on top of the screen which indicates when a new song plays, and whenever I reset, the bar always pops up and the first music in my playlist starts playing from the beginning again.

I have looked at my script but couldn’t seem to find out how to fix this issue, so I desperately need help. I am very glad if anyone can help and knows how to fix this.

Here is how my skip button works:

Here is how my mute button works:

In these videos, you can see how a blue bar pops up on the top of the screen every time I skip or a new song plays.

This is how my system looks in the explorer:
Screenshot (176)

This is my song manager local script:


What can I add in the above script so that the songs doesn’t replay every time I respawn?

I would really appreciate if you can help me, I am a beginner scripter and doesn’t know much.

Please reply if you know how I can solve this issue. Thanks everyone for your time.

Untick ResetOnSpawn property in the ScreenGui

3 Likes