#"value of type nil cannot be converted to a number" error

15 messages · Page 1 of 1 (latest)

young quartz
void magnet
young quartz
void magnet
#

hi?

#

do yk whats wrong with the script?

frozen pondBOT
#

studio** You are now Level 2! **studio

young quartz
#

you never check if coindata exists

#

coindata can be nil without throwing an error for the datastore can also retreive nil without any error

#

the coindata will always be nil for new players so you should add in a defaulting thingy anyways

void magnet
#

so i should make the player start with 1 coin?

void magnet
young quartz
void magnet
void magnet