You just had to place the if touching gift into a forever loop and remove the set score to 0 and leave it when the green flag is clicked. Put a wait until it is not touching it because if not it will get a lot of them by every millisecond that passes while touching it.