i have a game which is working fine but the problem is with the score. My score is not adding by "1" but some random number of value gets added in to this store every time Player collide with the box, it should add 1 in to score but its taking some random value.
Please check this screenshot.