#why wont position save when the player leaves?

43 messages · Page 1 of 1 (latest)

dusk kestrel
#

game.bindtoclose

wheat iris
#

does it give any error?

#

did u allow datastore API in studio?

wheat iris
hot lark
dusk kestrel
wheat iris
#

ill try it out when I get home

#

if u still need help

hot lark
# wheat iris if u still need help

yeah, i tried to print character on PlayerRemoving and it returned as nil, so the problem is on PlayerRemoving the character is already destroyed but how else can i save it on leave?

rustic spear
#

yo

#

i have a data saving code if u want

#

@hot lark

hot lark
rustic spear
#

no but i can make one

#

like in 5 min

#

d u want me to do it?

hot lark
#

not really i just need help with how i can save the character pos on leave

barren portalBOT
#

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

rustic spear
#

alr

#

i can do that is save the

#

x

#

y

#

z

hot lark
#

yeah thats what i have done but i need to save that on leave wich dont work with PlayerRemoving becouse the character is destroyed then

rustic spear
#

alr

#

gimme like 5 min

#

almost done

#

sry i coudn't figure it

#

ik the data saving works

#

but the postions isn't saving for some reason

hot lark
#

yeah becouse the character is destroyed on playerremoved so i need to find a way around

rustic spear
#

yo i figured out a way

#

i will try it

#

i am almost sure it will work

#

yo got smth to work

hot lark
#

what did you do?

rustic spear
#

i will tell u

#

i will test it

#

i mean

#

like make the finalt touches

#

so

#

can u dm me

#

cuz there is some steps to do it