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

Is there a conditional statement for Core GUIs?

Asked by 9 years ago

Either it's on the ROBLOX wiki and I can't find it, or I've looked all over and it's not there, but I'd like to know if there's a line or something that can tell if a Core GUI is visible or not.

2 answers

Log in to vote
2
Answered by 9 years ago

The method you are look for is called GetCoreGuiEnabled

Documentation on this method can be found here: http://wiki.roblox.com/index.php?title=GetCoreGuiEnabled

Example:

    game.StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList)
0
This is the answer. Good job. iaz3 190 — 9y
0
Ohhh. Thank you! Devotional 210 — 9y
0
So would it be: if game.StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList)==false then yadayadayada end? Devotional 210 — 9y
Ad
Log in to vote
-1
Answered by 9 years ago

Answer this question