# How to add score

**URL:** <https://forum.kirupa.com/t/how-to-add-score/282732>\
**Category:** flash\
**Created:** [February 25, 2009, 7:38pm UTC](https://forum.kirupa.com/t/how-to-add-score/282732 "2009-02-25T19:38:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoho501](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@hoho501](https://forum.kirupa.com/u/hoho501)\
**Post date:** [February 25, 2009, 7:38pm UTC](https://forum.kirupa.com/t/how-to-add-score/282732/1 "2009-02-25T19:38:52Z")

</div>

Plzzz help me i want to make it so when ever the ball hits the edges or the rectangle touches the ball it subtracts 5 points from the score but every second adds 1 point to the score heres the file
