How to get client variables to dedicated server when they disconnect?

I’m trying to get client character variables when they disconnect to run a event on server with their variables