#have a problem with UpdateAsync

12 messages · Page 1 of 1 (latest)

steel cypress
#

Every time i rejoin my progress is lost and i dont know how to save the UpdateAsync. So i want to make a button and every time you press it it give you a roll and the button part works

sick cedar
#

thats not how that works

steel cypress
#

then how does it work

sick cedar
#

not like that

#

just keep the player data in a table

#

update that table

steel cypress
#

can you explain

sick cedar
#

and periodically save that table to datastore

steel cypress
#

what table

#

@sick cedar

sick cedar
#

in this case just update the rolls intvalue and save that to datastore

#

not every time you update it but every 15 seconds and when the player leaves