Instead of waiting to be placed in the player's GUI, it runs on it's own in starter GUI. Am I forgetting something?
1 | print ( "Function starting...." ) |
2 | Vinny = script.Parent |
3 |
4 | Vinny.BackgroundTransparency = 1 |
5 | wait ( 0.1 ) |
6 |
7 | print ( "Function ending...." ) |
8 |
9 | script:Destroy() |
It looks like you've misplaced the wait() there.
01 | print ( "Function starting...." ) |
02 | Vinny = script.Parent |
03 |
04 | wait( 0.1 ) -- It should be here (Before making the Gui transparent) |
05 | Vinny.BackgroundTransparency = 1 |
06 | -- Not here (Not after making the Gui transparent) |
07 |
08 | print ( "Function ending...." ) |
09 |
10 | script:Destroy() |
Self-explanatory.