DataStore Isn't Saving A Player's Items

I was following this tutorial

Why does ipairs work in this system?

Thanks