How to check if a user's data in a datastore has been updated?

How to make a script check if a user’s data has been updated?

You could try making a while loop that would get the version of the key.

Edit: If you want to make it easier, you can use a deprecated event, but I don’t recommend it.

Can you show me a code using GetVersionAsync?