Until i know what the error is i cant fix it.
It is likely that the first time you entered the data it was empty and perhaps that is why it says nil. Maybe you can check if the data exists.
Is the Values a bool value or ?
wdym? my datastore have intvalue and bool value
nvm , i dont think there is anymore error coming out . idk why there is error at the first place .
So, it works or not?
no i guess?
its working . maybe the error is just cuz of studio