ServerScript
--Workspace/Sample/Cube1 경로에 있는 오브젝트를 Cube 변수에 할당해요.
local Cube = Workspace.Sample.Cube1
wait(2) --2초를 기다린뒤,
Cube:SetVisibility(false) --오브젝트를 보이지 않게 해요.
wait(2) --2초를 기다린뒤,
Cube:SetVisibility(true) --오브젝트를 보이게 해요.
Script Log
'LuaScript' 카테고리의 다른 글
[디토랜드] Damage&Heal (0) | 2021.12.23 |
---|---|
[디토랜드] Enable (0) | 2021.12.23 |
[디토랜드] Parent (0) | 2021.12.23 |
[디토랜드] GetChildList (0) | 2021.12.23 |
[디토랜드] GetColor&SetColor (0) | 2021.12.23 |