fastRunner/new_script.gd

10 lines
89 B
GDScript

extends Node
var score= 0
func playerPoScore():
score += 1
func hit():
score -= 50