//pre-history
So, in this days i noticed that popular train games like SCR and British Railway are using CFrame physic, so i started looking tutorial on YouTube and found some, i maded finaly working system
But.. everything is built on server code, and if client lags = not fine
//Now
So alright, i can put tram fully on local side (ignoring anticheat rn). And the problem = How To Make Other People See Tram??
Look example how it works: TikTok - Make Your Day
In short:
How do i sync client with other client?
I think you’re better off keeping the code server-sided. You can create some scripts to detect if the client lagged and something unexpected happened, then fix it.
Otherwise, you can use a RemoteEvent to send the tram position to the server, which then replicates to all the clients. But that is unperformant and pointless, it’d be better to use server script.
Yea i understand but its gets 1 mb/s and lag, so view will be should server sided, but yea, maybe i should on server and client will make smooth