Can pcalls be used for anything other than datastorage?

It’s all in the title, i’ve never seen it used outside storing data.

1 Like

Yes, you have to use it while filtering text other players input

Pcalls can be used for anything that has to contained in the likely event something can error and ruin your script, an example can be running a Roblox built-in method that can error so you have to contain it and do something if it has errored or not via the returns it gives

@ReturnedTrue made a tutorial on pcall and they listed all the functions you need to use it