#How to store temporary session data?

1 messages · Page 1 of 1 (latest)

plucky slate
#

Does anyone know the best way to store and retreive session data easily in Roblox? The session data is temporary and can be removed once the player leaves the server.

dry sandal
#

profilestore for permanent storage / datastores

#

if its temporary then just make a table?

#

playerremoving:connect( temporarysessiondata[player]=nil )?

plucky slate
#

Thank you

#

Should I store it in like a MoudleScript?

#

And use bindablefunctions to store and retrieve the data?

dry sandal
#

you could store it in like a moudlescript yes

#

you could use bindablefunctions yes

#

you could also use global tables and scriptsignal module

#

or you could use instances to store data

#

you could do a lot of things

#

if you wanted suggested direction i'd say go with what works for you. just keep making stuff, and when it stops working for you maybe try a different technique. you don't have to get it perfect and correct on your first attempt Thumbs