This is probably happening because the player doesn’t exist anymore by the time the RemoteEvent reaches the server, so there’s no player for the OnServerEvent to use, therefore it doesn’t get fired. Why are you doing it this way anyways? This leaves player data vulnerable to exploiters. You should look into better solutions; you don’t need to save player data immediately! You can just keep it stored on the server and have an autosave, like what Save your player data with ProfileService! (DataStore Module) (ProfileService) does.
1 Like