Godot Version
Godot win 64
Question
How do i please fix the bug? Im a new developer and i please need it explained very easily
extends Node
@onready var score_label: Label = $ScoreLabel
@onready var animation_player: AnimationPlayer = $coin/AnimationPlayer
var score = 0
func add_point():
score += 1
score_label.text = "You collected " + str(score) + "coins."
animation_player.play("pickup animation")