공부하는 Nar
--Workspace/Sample/ScreenUI/Frame 경로에 있는 오브젝트를 FrameUI 변수에 할당해요.
local FrameUI = Workspace.Sample.ScreenUI.Frame

wait(2) --2초를 기다린 뒤,
FrameUI:SetVisible(false) --FrameUI를 보이지 않게 해요.
print("UI Visible : false") 

wait(2) --2초를 기다린 뒤,
local UIState = FrameUI:GetVisible() --FrameUI의 현재 가시성 상태를 받아와요.
FrameUI:SetVisible(not UIState) --FrameUI를 보이게 해요.
print("UI Visible : true")
profile

공부하는 Nar

@NarS2

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!