For example, drag a mattress to the place where your character can fall.
After this, the scene runs and the character starts taking all the pills at the time you have set.
Finally, it's up to you to find the best combination of times to take pills, and to correctly adjust the positions of objects in the scene to keep your character alive when he tries to move to the indicated location in each level.Also, some elements in the scenery may be moved before the scene starts.