Animations in the row

How can we run 4 animations with 20 second interval in a row with Citizen.CreateThread