So yeah bad title but it's a really weird issue. I'm making a turret to mount on a vehicle, which is working fine. However, the look animation (rising and lowering of the barrel) only works when the turret is spawned on it's own. If the turret is spawned by spawning it's parent vehicle, it doesn't do the animation. However, the turret does fire a projetile when clicking if it's on the vehicle, but does not shoot when it's spawned by itself.
Also note that the projectile is shot in the correct angle (where the barrel would logically be if the look animation was working), so it's just a visual issue.
Any help would be appreciated. I can pm the code if someone asks.