Ay guys, havent been on in a while. sorry my main laptop blew up and just got it back. Is there anyway to have like an event that refreshes every 50 miliseconds?

Like maybe a messagelistener?