The old "double hat glitch" isn't really a glitch anymore—it's now an official feature of Roblox. You can stack up to three hats on your avatar at the same time.
Just open your inventory, pick the hats you want, and equip them together. No third-party program required.