#My script dont save players data (im new)

1 messages · Page 1 of 1 (latest)

rose lagoon
#

im trying to make a simple saving system for a clicker like game (im gonna develop it after but rn its just a clicker) but when i click the click counter raise but when i disconect and reconnect it doesnt save my clickpoints

#

so it looks like this and idk how to change it so it can save the 'memepoints'

sick kernel
#

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!!

marble pike
#

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

rose lagoon
rose lagoon
#

thanks

stoic frigate
#

game:bindtoclose

sick kernel
stoic frigate
rose lagoon
#

okay thanks

#

it finally works omg yesss

coral hedgeBOT
#

studio** You are now Level 1! **studio

rose lagoon
#

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

stoic frigate
#

coz the part is going to block clicks on things like clickdetector and surfacegui

sick kernel
sick kernel
coral hedgeBOT
#

studio** You are now Level 5! **studio

rose lagoon
unique jetty
unique jetty
#

Oh, ty