Its possible get all statebags?

i made this code to try to get all the statebags of the character but it didn’t work does anyone know how i can get all the statebags?

for_, stateBag in pares(LocalPlayer.state) do
print(stateBag)

end

Wrong place to post that, but we would need more of the code to answer the question, or just upload the entire file.