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

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

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

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)

Marked as Duplicate by BlueTaslem

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 8 years ago

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

Ad