You can get this pin by giving cookies to other users or their rooms.
This is the amount you need:
After reaching the 5th level, you can level this pin again with the same number. After that, the color no longer changes, but a number appears on the pin. This shows other users how many times you have reached the last level.