Does anyone have the script that checks if data is valid before sending to DataStores?

I’m having DataStore issues regarding invalid types. I know how to solve it, but it would be exponentially more helpful if I could use that function someone posted here a while ago that I can’t manage to find that checked before saving if data was valid (i.e. no Instances or whatever).

Can’t you just make sure the typeof the argument isn’t of the instance type?

1 Like

I’d have to do that for every table inside the table and then on. I’m also not entirely sure the exact list of what’s acceptable.

this post?