How to fix unknown error

Godot Version

4

Question

There is a bug I don’t know how to fix can someone please help. The game is 2d.

If you share code, please wrap it inside three backticks or replace the code in the next block:

if Input.is_action_just_pressed("flammas spear") and func _on_hurty_hurter_flamma_area_entered():
            var sparta_hp = 0
            pass

Please tell us something about the issue you are facing