How can I implement a delay function in liquid?

Sorry for the late reply. It seems that my notifications were turned of.

How would I implement that into a liquid code? In this case it’s about the checkout area in the settings which will let me add code to the thank you page where I want to delay a certain part of the liquid code for 5 seconds.