how do i make coins that my sprite can collect?

how do i make coins or something my sprite can collect?

Put a collision on the coin that connects to a destroyer. Be sure to set the collision to whatever your sprite is. If you want to tally however many coins you have, add a message to that destroyer. Set the message to something specific. On another object, add a Mailbox which has the same phrase as the message. Connecting to the mailbox, add a number which has a value of 0. Connect the mailbox to the + property and then put the Out of the number onto a label. The label should also have a 0. If done properly, when you collect a coin, the number should go up 1.