Flashlight with cone tracer

Still didn’t working, and the reason is Looping doesn’t work:
http://prntscr.com/ixvc9t
http://prntscr.com/ixvcxx