Hello. I am working on a wand system, which you most likely have seen in other games such as Magic Training. My approach to making a clean system is firing everything from 1 remote with checks on the server and having all the spell information in 1 module.
The problem I am facing right now is projectile delay.
https://gyazo.com/41d6095d4c5e3f9f68754ea3e3d3b6e3
The spell trail seems to spawn far away from the wand tip. I’ve looked around devforum and scriptinghelpers and only reliable solution I’ve found is firing the visuals of the wand on the client using FireAllClients() and handling the hitbox on the server.
Is there any other viable solution to this problem, if not, how could I handle the hitbox on the server? FYI I tween the projectile along a raycast.