So i have a problem with my little game it says "Unexpected token '$':" heres the code:
extends Node
var experience = 0
func _ready():
$TextureButton/Label.text = str(experience)
func onTextureButton_pressed():
experience += 1
$TextureButton/Label.text = str(Experience)
Dont know why it doesent work.