The word "lollygagger" refers to someone who wastes time or loiters around. However, if you're looking for alternative terms to use in certain situations, there are a few options to consider. "Slacker" is a common synonym that describes someone who avoids work or responsibilities. "Loafer" is another term that describes someone who idles or lazes around. "Dawdler" is a synonym for lollygagger that emphasizes aimlessness or procrastination. "Procrastinator" is another option that emphasizes the delay or postponement of tasks. No matter which synonym you choose, they all convey a similar sentiment of someone who isn't using their time productively.