2020-02-17 20:33:58 -05:00

11 lines
271 B
Plaintext

function gui:isVisible()
if self.Visible == false then return false end
local parent = self.Parent
while parent~=_GuiPro do
if parent.Visible == false then
return false
end
parent = parent.Parent
end
return true
end