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

Why isn't a part of this is not working?

Asked by 10 years ago

I tested this before and it worked, but now one part of the script does not work! Here is the script(problems included):

01function LoadAsset()
02    Box = script.Parent
03    Frame = script.Parent.Parent
04    if Box.Text == "Loading Assets" then -- from here
05        wait(0.2)
06        Box.Text = "Loading Assets."
07    end
08    if Box.Text == "Loading Assets." then
09        wait(0.2)
10        Box.Text = "Loading Assets.."
11    end
12    if Box.Text == "Loading Assets.." then
13        wait(0.2)
14        Box.Text = "Loading Assets..."
15    end
View all 29 lines...

As you can see the broken bit is making a text loop repeating it again and again. during early testing it worked, but no it does not!

1 answer

Log in to vote
0
Answered by 10 years ago

1You need the change the PlayerGui not the StarterGui...doing that will only change it on reset!

Frame = game.Players.LocalPlayer.PlayerGui -- Try that

0
ok vectorxray 5 — 10y
Ad

Answer this question