if coins >= 100 then print("Дверь открыта") else print("Недостаточно монет") end
while timeLeft > 0 do task.wait(1) timeLeft -= 1 end
if crystals >= 10 then print("Уровень пройден") end