Need help with my first project

You could always put your servo stuff in its own function you call only when you want to use it, something like:

In this way, you also save on battery and jitter on the servo since it shuts off when not in use.

Then just call the function as needed like:

doTheThingAndShootSomeString();

edit:
Also,

This delay is probably not doing you any favors. Any such purpose with regard to your PIR sensor module is already built in to the PIR sensor module: it's a digital sensor, after all, with no need for debouncing as you do need with a standard pushbutton.