How would you implement your own custom replication?

I want to reproduce the server-client-replication as shown in this YouTube video.

How would I start and what are some things I need to understand?
Where are the scripts for the default roblox-client-replication?

There aren’t scripts for the default replication because it is built into the engine. The default replication is also incredibly complex and takes into account physics which it knows will not be different between two parts (In Assemblies for example), or events that can be predicted in advance (Collision with other parts that are anchored and identical on client and server). You should only make your own replication if you have an extremely specific use case, but the basic concept is you have some information on the server that is updating an object on each client. That could be a Position or a CFrame or anything, but its easy for the timing to behave badly and the result might look goofy. Can you say more about what you’re doing?

I am just trying to figure out how the person in the video I sent was able to create his own low latency replication. Like you said, it is built in the engine, but how would you do this if the system is built within the engine? How would you use the tools you have (client and server scripts) to recreate your own replication?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.