I have made a pawn (ball) which should hit a box to receive damage and it should be displayed in a progress bar (as health). How do I make it?

I am Prithvi,

A ball mesh rotates around using the keyboard. When it hits any box mesh it should receive damage. How do I make it?

Looking forward to reply.

something like that.

And you don’t need to use caps lock.