Using Pcall for my game!

Hey there,

I am about to put my game in beta, but before I do that I want to put Pcalls in for my datastores.

Should I put Pcalls in for saving data for leaving players, and getting data for players joining? Is it necessary?

Pcalls are useful for finding datastore errors (for players too). See this post for more: Pcalls - When and how to use them

It is used so you can catch errors so yes it is necessary. Unless you don’t care whether it always works or not then you don’t really need to pcall.

1 Like