Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can anyone please help me with this? I need it badly..

Alright, so here's the issue I'm having: Line 01 changes the Text in the Gui, but then after that point, it doesn't change the Text at all. Someone please explain this to me, since I'm obviously incapable of solving this issue...

Script below:

game.StarterGui.Playing.text.Text = "Preparing music, please wait...."
wait(5)
game.StarterGui.Playing.text.Text = "Now Playing: Pretty Girls by Brittany Spears ft. Iggy Azalea"
script.Parent.Music_System.Pretty_Girls:Play()
wait(79)
script.Parent.Music_System.Pretty_Girls:Stop()
game.StarterGui.Playing.text.Text = "Preparing next song, please wait...."
wait(2)
game.StarterGui.Playing.text.Text = "Now Playing: Watch Me (Whip / Nae Nae) by Silento"
script.Parent.Music_System.Watch_Me:Play()
wait(120)
script.Parent.Music_System.Watch_Me:Stop()
game.StarterGui.Playing.text.Text = "Preparing next song, please wait...."
wait(2)
game.StarterGui.Playing.text.Text = "Now Playing: Sugar by Maroon 5"
script.Parent.Music_System.Sugar:Play()
wait(120)
script.Parent.Music_System.Sugar:Stop()
game.StarterGui.Playing.text.Text = "Preparing next song, please wait...."
wait(2)

1 answer

Your issue is that the script is changing the main one not the one that the player sees. to fix this you need to put a script inside so instead of

game.StarterGui.Playing

Do this

script.Parent.text

Hope this helped, if any questions please comment :D

This discussion is preserved as it was. New answers, comments, and votes are closed.