I feel like this script was too easy to script

In addition, I highly recommend you implement a BindToClose to your script, so the data saves when a player loses connection or when the server shuts down.

tutorial: