Countdown in corner

how do i make it so theres a coundown in the corner of my screen just like in snowy survival
i know how to make a countdown i just cant put it in the corner

Use an overlay device! Have the overlay set it’s text to the countdown value every second.