Before you say anything horrible title.

Let me explain, for this group I am working on they essentially want a GUI that shows a image. The Image that gui is showing is one a hr puts into a different gui; via a Image ID. I already have all that worked out; however I'm trying to find a way to save said ID. I'm looking to save that ID so when a new server starts the previous inputted ID will be there. Any ideas?

8 comments

0

You can have a function run when a server ends using :BindToClose() What do you mean by saving?

0

You can save the ID to datastore and then when a new server opens get that image from the datastore

0

Like if they put in the ID like 3813498 for the image; when a new server starts the id will still be there for the image

0

do you want it to save per player or do you want some global image across servers?

0

and can't write out a proper response since im going to bed the advice i wrote in the comments should get you going just cant provide the code right now

0

It's not playerdata; it's more of a server wide thing. I'm using remotes to fire the ID to all clients.

0

alright then save one id to the datastore

0

and load the most recent id since shutdown