the forward vector dosent change

i’m a coplete beginer. i try to create gun and attach it to the third person character. I made a function OnFire with debugline amd made it that it should spawn on the socket taht i placed on the gun but it allways shoots in the same direction no mater how i rotate while plaing (photo). also i loged the value of the forward vector of socket and its always (1,0,0) how do i make that it shoots in the direction that the gun is pointing? the white thing is my current “gun”

From the look of the pic you want Actor.GetActorForwardVector() on the character.