Ok I created a brick
Area
Srpite
CollisionShape2D
now when i am standing under it and jump up
1 to 5
each time I hit the brick (I.E enter the Area ) I get a random number of coins ( 1 to 10)
and makes a sound
on the 5 time the brick breaks (I.E dis-appears form the screen)