Spawning nodes don't working

Godot Version

4.2.1

Question

Hello! I’m building a space shooter, and currently I’m making enemy spawning. Here’s the problem: when spawning enemy he flies with monstrous speed, but the initial velocity is small.
The code:

extends Node2D

var enemy_scene = preload("res://enemies/green_enemy.tscn")

var margin = 9

var screen_width = ProjectSettings.get_setting("display/window/size/viewport_width")

@onready var timer = $Timer

# Called when the node enters the scene tree for the first time.
func _ready():
	timer.timeout.connect(spawn_enemy)

func spawn_enemy():
	var enemy = enemy_scene.instantiate()
	add_child(enemy)
	enemy.global_position = Vector2(randf_range(margin, screen_width - margin), -16)
	print(enemy.global_position)

It is the problem of your enemy script