Fixed it! I saw it on youtube where a guy uses the arrow component to spawn the projectile. Thanks anyways