Answered by
6 years ago Edited 6 years ago
It's because you're using a for loop but not including this bit into the loop:
1 | frame:TweenPosition(UDim 2. new(- 1 , 0 , 0 , 0 ), "In" , "Quart" ) |
Since that part isn't in the loop, the script won't read it.
Edit: Though you don't need the for loop, I believe. so the new piece of code would be this:
01 | local frame = script.Parent |
02 | local text = script.Parent:WaitForChild( "TextLabel" ) |
05 | text.Text = "Loading Story Mode (1%)" |
07 | text.Text = "Loading Story Mode (5%)" |
09 | text.Text = "Loading Story Mode (15%)" |
11 | text.Text = "Loading Story Mode (20%)" |
13 | text.Text = "Loading Story Mode (25%)" |
15 | text.Text = "Loading Story Mode (30%)" |
17 | text.Text = "Loading Story Mode (35%)" |
19 | text.Text = "Loading Story Mode (40%)" |
21 | text.Text = "Loading Story Mode (45%)" |
23 | text.Text = "Loading Story Mode (50%)" |
25 | text.Text = "Loading Story Mode (55%)" |
27 | text.Text = "Loading Story Mode (60%)" |
29 | text.Text = "Loading Story Mode (65%)" |
31 | text.Text = "Loading Story Mode (70%)" |
33 | text.Text = "Loading Story Mode (75%)" |
35 | text.Text = "Loading Story Mode (80%)" |
37 | text.Text = "Loading Story Mode (85%)" |
39 | text.Text = "Loading Story Mode (90%)" |
41 | text.Text = "Loading Story Mode (95%)" |
43 | text.Text = "Loading Story Mode (99%)" |
45 | text.Text = "Loading Story Mode (100%)" |
47 | frame:TweenPosition(UDim 2. new(- 1 , 0 , 0 , 0 ), "In" , "Quart" ) |
Hope this helps.