How do you get egg hats on ROBLOX?

When there is an egg hunt, you must be in a game when the eggs fall and chase them. When you walk on them, you get them. Or if you're talking about the 2008 eggs, you buy them from the collectible hats section.