I am currently making an obby game and I made lots of stuff client-side to not keep the server busy, and low ping, and I am using a singular remote event to start the stages on the client.
One issue is that, when I call the remote event to load the scripts, there’s a desync between the players, the platforms that rotate do not match the platforms on the other player’s screen and it’s becoming a problem when there’s a timing stage.
I’ve tried my best by trying to load the scripts once, and at the same time with remote events with the other player, and tried to delay the remote events a little to see if the server was busy at the moment, but nothing really worked out for me.
Example code (not the actual source code):
Server:
function StartPlayers(Player1, Player2)
LoadScripts:FirePlayer(Player1)
LoadScripts:FirePlayer(Player2)
end
Client:
function LoadStages()
miscfunctions()
end
LoadScripts.OnClientEvent:Connect(LoadStages)
How do you go about syncing clients around in your games?