Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Anyone got a script that saves tools when you leave? [closed]

Asked by 4 years ago

So, I have a ton of tool givers in my game. But they don't save when you leave. I'd like to make a script where when you get a tool, and you leave, you can join back and it's still there.

Example: John got the laser gun. It was his bedtime, so he needed to leave. He went back on the game the next day, and his laser gun was gone. He then committed suicide.

so yeah pls thanks hfdkjhfsdsdflfsdd

0
Please attempt this code yourself and post it here with detail and explanation, as this is NOT a request site. killerbrenden 1537 — 4y

Closed as Not Constructive by Ziffixture

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by
zomspi 541 Moderation Voter
4 years ago

Look into datastores

Ad
Log in to vote
0
Answered by 4 years ago

You should learn to use DataStore. Here's a good tutorial: https://www.youtube.com/watch?v=DkYupSBUpes You can adapt this to suit your needs.