#My script dont save players data (im new)
1 messages · Page 1 of 1 (latest)
are your api services enabled?
ooo also if your running this in studio saving can be buggy and wot always run correctly so try this in a published game!!
firstly change "key" to just plr.UserId
key is used to get data from other player's data
and it's plruserid only
pardon
i may be incorrect
yes
game:bindtoclose
that's usually why it doesn't save properly in studio
wasnt aware of this
helped me out aswell thanks pal
so i add this to my code ?
add a game:bindtoclose connection that saves all players
** You are now Level 1! **
i have a new problem now (the clicker button is not interacting with the count button) but im so happy that it finally stores the data tysm @stoic frigate @sick kernel @marble pike
i will try on my own to resolve it
coz the part is going to block clicks on things like clickdetector and surfacegui
i love you youre just so knowledgeable
let us know if you need any help 
** You are now Level 5! **
okay ty i will try to work at fixing this if i have problems i will tell you guys
Doesnt the PlayerRemoving Event fire when the server shuts down?
Oh, ty