For starters, your Start and End object are being set to null…
Did you forget to connect the wire from the loop?