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

Music and Gui does not change at the same time. Can I get help?

Asked by 9 years ago

I'm trying to get my music to change and my gui change but it doesn't change. Here is the script:

abcd = game.StarterGui.ScreenGui.Frame
while true do

wait()

script.a:Play()

abcd.a.TextTransparency = 0

wait(101.041)

abcd.a.TextTransparency = 1

wait(1)

script.b:Play()

abcd.b.TextTransparency = 0

wait(59.9239999999999)

abcd.b.TextTransparency = 1

wait(1)

script.c:Play()

abcd.c.TextTransparency = 0

wait(73.76900000000005)

abcd.c.TextTransparency = 1

wait(1)

end

Anything wrong?

0
One thing that's wrong is you didn't Code Block it. Please do so by pressing the Lua Icon and pasting your code in-between the squiggly lines "~~~~". alphawolvess 1784 — 9y
0
Is this a regular script or local script? DigitalVeer 1473 — 9y
0
It is a regular script FirerySunBird 0 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

The GUI isn't changing because your configuring the GUI in StarterGui. People would basically have to reset to see the change in startergui. You need to configure it in the player's PlayerGui. You could just do script.Parent (Assuming its directly in the ScreenGui) Never EVER configure GUI's in StarterGui. You should always configure the GUI from a player's playergui.

Hope this helped! Give this an upvote and accept the answer if it helped!

Ad

Answer this question