``The script i used:
1 | local GUI = script.Parent.Play |
2 | while true do |
3 | wait( 48 ) |
4 | script.Parent.GUI.Visible = true |
5 | --// And make it invisible again after a certain time |
6 | wait( 9999999 ) |
7 | script.Parent.GUI.Visible = false |
8 | end |
Doesnt work. By the way it might sound dumb since im new to scripting. (Putting full script would help)
put a local script inside the screen gui then make the enabled set to false then paste this
1 | while true do |
2 | wait( 48 ) |
3 | script.Parent.Enabled = true |
4 | wait( 9999999 ) |
5 | script.Parent.Enabled = false |
6 | end |
this works because I tested it and know it does.
I think that I would do
1 | script.Parent.Visible = true |
2 | wait( 99999999999 ) |
3 | script.Parent.Visible = false |
by the way: I don't think it's possible to close a gui. try making a frame and all the content in the frame.
1 | while true do |
2 | wait( 48 ) |
3 | script.Parent.Enabled = true |
4 | --// And make it invisible again after a certain time |
5 | wait( 9999999 ) |
6 | script.Parent.Enabled = false |
7 | end |
put this script in the gui and make the script be a local script