Is there a way to handle the DataStore corruption error?

Datastore2 is kind of ew nowadays not gonna lie.
I wouldn’t recommend it for future use. It’s a good API but it’s main power is gonna be everywhere soonTM.

Also you don’t need to wrap Datastore2 in pcalls. It handles that for you completely.

If you need anything for future work consider ProfileService instead.