Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My music gui doesnt work?

Asked by 10 years ago

So today i am working on a music starter gui that will play music and change the title when a different music is played. The gui says the music but the music doesnt play! It works in solo mode but in actual mode it doesnt. Please tell me what is wrong with my script. AIW is music so is TDFW.

music = game.Soundscape
while true do
    script.Parent.Text = "Now Playing: Turn Down For What"
    music.TDFW:Play()
    wait(5)
    music.TDFW:Stop()
    script.Parent.Text = "Now Playing: Am I Wrong"
    music.AIW:Play()
    wait(40)
    music.AIW:Stop()
    script.Parent.Text = "Now Playing: Its Raining Tacos!"
    music.IRT:Play()
    wait(10)
    music.IRT:Stop()
end

2 answers

Log in to vote
0
Answered by 10 years ago

Please tell me your error.

To find your error just go to the console in Rblx Studio or go onto the game and click F9 and then click Server Console.

The error will be in RED.

Best regards, Nathan.

0
Haha okay. Take care :) WelpNathan 307 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

I fixed it. Take the script if you want! I learned the audios need to be in workspace. Woops!

Answer this question