Input.Is_action_just_pressed running twice?

Godot Version

4

Question

`so i am making a pause menu and there are 3 main bugs the most notable is that my input action runs two times
here is the code

func _process(_delta: float) → void:

if Input.is_action_just_pressed("Menu"):
	print("hello")
	
	var key_warn_node = get_node("/root/Game/UI/CanvasLayer/KEY_WARN")
	if not Computer_on:
		Pause_Menu()
		key_warn_node.visible = false
		
	else:
		key_warn_node.visible = true

if you have any questions that can help my situation or other peoples situations please ask away`