Multiplayer Score Problem

How do I make the score work for both players?

I am developing a multiplayer mode for my Friday Night Funkin’ engine and I’m having problems where it seems like the host doesn’t receive player 2’s scores, and for the second player the scores appear buggy and reset to 0 on their side whenever the host updates the score.

2025-11-1714-25-51-Trim-ezgif.com-speed

Screenshots

I disable the synchronization of several variables including “Score”, “NoteCombo”, “MaxCombo”, “Accuracy”, and “TotalNotes”

I disable synchronization, set a few more variables, and set ‘PlayerOnline’ as the player’s identification number

The charts are separated for each player. Right below, I made a system that in my view would deliver the correct variables for both players.

and this is where each player’s statistics are shown

Test Build: https://lucyyuih.github.io/Friday-Night-Funkin-Online-GDev-Engine/