How do i make graphics settings with datastore?

Hi, I was just asking how do i make a settings like to disable shadows with datastore means that if u turn shadows off and when u rejoin the game. The same settings are still i the game.

Store a boolvalue in your datastore and read it whenever a player joins