Need help with playing music

  1. What do you want to achieve? I want the script to play intermission music everytime in the intermission, and stop playing it when the round begins.

  2. What is the issue? Currently the music starts playing once I join the game and doesn’t start again once the player is teleported to the lobby and the intermission is in process. If I set Looped to True it plays it continuously and it never stops.

  3. What solutions have you tried so far? I have tried asking my friend to fix it, to no success, I looked on the internet and even(out of desperation) tried to fix it using ChatGPT, nothing works.

I suspect the problem might be because music.Playing = true is in infinite loop, but I don’t know.
No errors are printed.


Replace it with this.

music:Play()

for i = 30, 0, -1 do
    status.Value = "Intermission "..i
    task.wait(1)
end

Thank you for your fast response, I totally forgot about that and surprisingly enough it worked. Thank you very much mate.

1 Like

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