Script that waits until they are close;
repeat
wait()
until
(part1.Position - part2.Position).magnitude <= 2
Script that waits three seconds;
wait(3)
What I would like to know is how to make it so that the script waits until the parts are close, but if they're still not close after three seconds, it will continue with the code anyways. I'm not sure where to start.

4 comments
do you mean the script will be running while it's counting down 3?
I mean that it will wait until the parts are close, BUT if they don't get close after three seconds, the code will stop waiting for them to be close.
repeat wait() until will do the code UNTIL the parts are close together. Basically forever until the parts are close.
I know.