extends Node var score= 0 func playerPoScore(): score += 1 func hit(data): if data == "Hit": score -= 50 elif data == "power": score += 30 func playerDeath(): score = 0