Our characters are unlocked by playing the game and collecting coins, but Shaggy is unlocked by completing the task and following all the steps correctly. We do not need to spend gold to unlock it.