Making a Servo spin for set amount of time

Thanks man, I appreciate it. Did I fix it? I’m pretty new to this sorry hahah