#What's wrong with my datastore? On line 18 it says "attempt to call a string value"

15 messages · Page 1 of 1 (latest)

dense sky
#

what are you trying to accomplish with the "plrID{plr.leaderstats.Money.Value, plr.Bank.inBank.Value}"

#

that doesnt do anything to my knowledge

#

you're calling a string, then using brackets to do something

#

oh wait i get it

#

its bc you dont have a comma between the key and what you want to save

#

ok good

#

also pro tip

#

use a pcall to protect the data save

#

it prevents an error from stopping the entire script

paper minnow
#

Read the roblox docs saving data page.

dense sky
paper minnow
#

They have an example of using pcall.

dense sky
#

hey specops, dont mean to be rude, but could you check out my thread?

paper minnow