Make a point scoring system


How do I make a scoring system for my mini game that I'm making?
I want it so if the character moves over the star their score increases by one. The score must also be visible on the left of screen. Help???


Make a text that says score.
Make a new rule for that text.
When the play button is tapped repeat forever set text to (* make a new iPad's value ).
Go into the star. Make a new rule.
When person bumps star
Increase value (*) by one


Thanks RobotPro. You've been really helpful