Raycaating projectiles, loop delagging

Hey! So, for a projectil, i’ve been using a ‘for loop’ to move the parts cframe, and repeating a raycast, but it creates too much lag. Ive seen games where projectiles like this some how done create nearly as much lag, i even went as far ss moved the loop part locally, and fired an event on the server to complete the cframe movement. But, it doesnt seem to be doing much, just makes it more inconsistent really. Does anyone have any thoughts on how i might be able to improve this idea? Is there some recource ive missed to assist in this endeavor?

Thanks!
-Manelin