Welcome to the forums @Meovyle!
Can you share the code you have written, which line is causing the error (the red dot), and the message that the Godot debugger gives? Without the code and roughly which line is causing the issue, its hard to say what could be the issue.