What is the Best Way to Stop This Loop

Hello,

Would anybody be willing to help me? I’m using an “if then” block to get a motor to turn with a relay, but I’m not sure of the most efficient way to get the motor to stop after a second or two (get the true statement to stop). Should I use a for loop or a while loop? Here is the link to the tinkercad project. https://www.tinkercad.com/things/9xq9ahDLHrt-copy-of-relays/editel?sharecode=CgdAQloDaR4IHrMZNkCpD5tzS5Y-MlcX6NCD0gUM-qY

Kind regards,
Brock Baxter