#How to save large amounts of data?

56 messages · Page 1 of 1 (latest)

manic hill
#

you use a datastore for each value?

loud starBOT
#

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

manic hill
#

can you elaborate what ur trying to save

#

whats the purpose of ur values

#

oh

#

why

#

btw enable studio api access if u want it to save in studio too

#

and yes its possible

#

just read this page

#

its really easy once u understand and remember

#

let me know if this doesnt work

#

it tells you how to save multiple values

#

here

#

let me think

#

where do u store ur values btw

#

ur creating a folder and putting ur values into it

loud starBOT
#

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

manic hill
#

in the player

#

right

#

you use instance.new instead of just cloning the values right

#

so

#

do you clone ur values from something or do you create the values within the script

#

i said it was possible

manic hill
#

yes

#

in one script

#

you can create one script that handles all the value saving in serverscriptservice

#

oh you want to like basically

#

define all the values

#

at once

#

am i right?

#

no sadly but

#

you can just

#

type the setasync thing multiple times

#

its not really that hard

#

there is no point in grabbing all the data at once

#

it only makes nanoseconds of difference and a bit more organized but

#

it doesnt affect the player

#

at all

#

why do you have 20 - 30 values

#

that in itself is bad organization

#

depending on ur situation

#

i cant really help you if you dont tell me why you have 30 values

#

i might be able to tell you a alternattive solution

#

if you want that

#

i can but your u cant save 30 values at once

#

you have to do it individually

#

pretty sure they just have one script handle all the values and most games do not have 30 values

#

or 20

#

ok

#

mb i forgot tables existed

#

use tables

#

im not giving u a whole script for u but just use tables for ur mass data storing

dull ermine
#

Tables yeah