How to make this gui show on enter only? BTW this is the Exit gui but add to it
1 | Gui = script.Parent.Parent |
2 |
3 | while true do |
4 | wait( 49 ) |
5 | script.Parent:TweenPosition(UDim 2. new(- 2 , 0 ,- 5 , 0 ), "In" , "Back" , 1 , true ) |
6 | end |
Try this, I dont know if it will work
1 | Gui = script.Parent.Parent |
2 | while true do |
3 | wait( 49 ) |
4 | script.Parent:TweenPosition(UDim 2. new(- 2 , 0 ,- 5 , 0 ), "In" , "Back" , 1 , true ) |
5 | script.Parent.Parent:Destroy() |
6 | end |
Or this
1 | Gui = script.Parent.Parent |
2 | while true do |
3 | wait( 49 ) |
4 | script.Parent:TweenPosition(UDim 2. new(- 2 , 0 ,- 5 , 0 ), "In" , "Back" , 1 , true ) |
5 | end |
6 |
7 | script.Parent.Parent:Destroy() |
Or this
1 | Gui = script.Parent.Parent |
2 | while true do |
3 | wait( 49 ) |
4 | script.Parent:TweenPosition(UDim 2. new(- 2 , 0 ,- 5 , 0 ), "In" , "Back" , 1 , true ) |
5 | end |
6 |
7 | Gui:Destroy() |