I’d like to know any alternatives to raycasting in scripts.
Well, the primary reason is well
It works fine the first few minutes. But then things get messy when it is looped.
The raycast slows the server to the point of even the beefiest computers crashing.
So; any smoother alternatives?
Things I tried (that didnt work):
Doing raycasts on the client side
Increasing delay between raycasts (This worked, but it broke the script.)