Hi @AbdallaOmar!
You can refer to this post to solve your problem. Your code has the same issue as that post.
Also, you don’t need the forever block for collision function. You may as well take lines 10-23 out of the forever loop.
Hope this helps.
Regards,
NixonLiStudentAccount X CoRichardLi