Adding points with ui button?

Hi, im making a game, where you have to press a button multiple times to get points, but hou do i get it to add the points when i press the button? (Its a button in the UI)

Hi,
cast to your player and get your points variable. Then increment it.

Where is the points variable?