I asked why you needed it because chances are you wouldn't need it. Explaining what you want to do rather than "is there a function for this" makes it much more probable that you'll get a proper answer, especially since we may come up with a solution completely different than what you were expecting.
In this case, you just implement CreateShotwhatever into a new function, precisely how Lucas described. It'll just look like
function CreateShot01N(x, y, s, a, g, d){
let shot = CreateShot01(x, y, 0, a, g, 0);
//shot doesn't kill player, is invincible, etc
delayeffect;
return shot;
task delayeffect{
//do the effect
//shot "fires"
}
}
or something along those lines.