When I join the game for the first time, the building when buying a dropper or anything with a button works. But when I come back to the game a second time, I can’t see the objects spawn when I buy them but they still are there when I use the server view. It used to work well I'm not sure what caused that. Maybe I changed something on accident. I really can't tell. Here's the data saving script:
#Data saving acting weird (tycoon)
1 messages · Page 1 of 1 (latest)
why are you destroying tycoon?
because I load the "new" one
ah wait i read that bad i didn't see tycoon in the parameters
I meant i destroy it when people leave
is it possible for you to send a video?
the tween event for the animation
yes
sorry for the bad quality
they still get added to purchases
and I can see them from server view
so when you purchase it you see it on server but not client?
yes
I can send you a video
so do you create the dropper on a local script or server?
the building itself
and when I load back a third time, they are there. I mean when the data script load the tycoon they are there
server
the animation is on client
i see
if your animation is in the same local script that is erroring in output
then that's why you aren't seeing anything, the script errored before the animation function ran
the erroring is in the server scirpt in that
oh
yes the server places it, you take the building and animate it
but the local script is offline
so you see nothing
it errors at line 2 so your events hasn't established a connection
that's weird 🤔
but this error is from another script
One that is independant from the other things
any other errors?
nah keep it in the post for others to see
okok
i'm just trying to help where i can, not the best sorry
it's all right you seem good
my last guess is the server script that errors before you fire to client
hmmm I'm trying to see if anything is erroring
theres those
but I don't think they are the probleme since it was working before and still doing those errors
the function that is erroring for these buttons, is it there you're firing to client for animation?
no
well i don't know what else
it's ok thanks for the help
best thing i can tell you now is to just keep output clean, fix all your errors and add some prints in important places.