This is very specific but is there a way to make it so that if an action is displayed X number of times my character will be destroyed/killed. For example if a ball hits a certain platform a hidden action will occur in the backround and if this action happens 100 times the game will end. Thanks.