the schedule command does not work

As the arrow is shot from a bow, I am trying to schedule a function to run 1s after the arrow is detected. This does not work though
Continue to help post