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

How would I make two GUI's visible and invisible during their appropriate times?

Asked by 4 years ago
Edited 4 years ago

How would I make my make my separate GUI's only visible during their appropriate times. For example when intermission is going on my GUI signaling intermission has to visible why'll the round GUI with the round stats would be invisible and visa versa. How would I do this?

2 answers

Log in to vote
0
Answered by 4 years ago
local gui = "define your gui"
gui.visible = false

this is how u make the gui invisible and for visible just set it to true.

then u can check if it is during intermission , not sure how to because i do not know how do you even start your intermission.

sorry i dont understand this question , hope this helps. you can also visit forums related to gui if you dont understand.

0
Yeah, that does help a bit, thanks SheepeySheeps 4 — 4y
Ad
Log in to vote
0
Answered by
Grazer022 128
4 years ago
Edited 4 years ago

heya buddy! I wanna try to help you, so let me explain. Define you Gui into variables

local intermissionGui = “your intermission gui”
local roundStatsGui = “your round stats Gui”

then we’ll make it that if one of the two gui is open, the other will close. Like this


local intermissionGui = “your intermission gui” local roundStatsGui = “your round stats Gui” if intermissionGui.Visible == true then roundStatsGui.Visible = false elseif roundStatsGui.Visible == true then intermissionGui.Visible = false

I’m here to only help you about the Gui being visible or not on certain times like what you said, “when intermission is going on my GUI signaling intermission has to visible why'll the round GUI with the round stats would be invisible and visa versa. How would I do this?“. In making the Intermission itself or the round, you should learn about it more to get knowledge. Well that’s all from me! Hope this Helps!

  • Grazer022

Answer this question