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

How could I use a for loop for a loading screen?

Asked by 10 years ago

I know how to do a loading bar, but I'm not sure how you would make the loop change the text to a higher number that will be the percentage. All help is appreciated!

1 answer

Log in to vote
0
Answered by 10 years ago
local t = script.Parent
for i = 1,100 do
    wait(.1)
    t.Text = tostring(i).."%"
end
0
Thanks, I never knew it was that simple. UngracefulUnicorn 40 — 10y
Ad

Answer this question