Bullet Spawning

Bullet keeps spawning off center of spawn object position, created a new scene for my bullet and still getting the same problem.
Basically want the bullet to spawn at the same position of the gun script

extends Node2D

@onready var player = $“…”
@onready var player_gun = $“.”

const Bullet_Object = preload(“res://Scenes/Player_GunBullet.tscn”)
var Bullet_Instance

var world

func _ready():
world = get_tree().current_scene

func _process(_delta):
Shooting()

func Shooting():
if Input.is_action_pressed(“Shooting”):
Bullet_Instance = Bullet_Object.instantiate()
Bullet_Instance.global_position = player_gun.global_position
world.add_child(Bullet_Instance)

it might be your gun scene, your bullet scene, or both scene sprite position