If you want to aim it, you can try with vars, but it will shoot projectile out of the player and you have to be exposed, or disable window/wall raycasting but other people can shoot you too
Or spawn a turret
Or use a basic SpawnProjectile thing like the people here showed you