|
| 24 Aug 2016 10:00 AM |
Hi, I'm trying to make a script that saves what's in your backpack so that when you join the game again you get your items back. I've used datastores although I'm still not sure how I would go about this.
|
|
|
| Report Abuse |
|
|
|
| 24 Aug 2016 10:06 AM |
| Neither am I so I'm gonna use this to help me enhance my knowledge on this. |
|
|
| Report Abuse |
|
|
chichine
|
  |
| Joined: 16 Jul 2011 |
| Total Posts: 496 |
|
|
| 24 Aug 2016 10:13 AM |
Best way is to save every tools' name and when loading: find tool associated to name and then put it in backpack.
|
|
|
| Report Abuse |
|
|
|
| 24 Aug 2016 10:24 AM |
Actually that's a pretty good idea. Thanks. I'll try that.
|
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 24 Aug 2016 10:24 AM |
| Save every tool's name in table and when the come back find the tool to their name then clone it and put it their backpack. |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2016 10:26 AM |
How do you save and load a table?
|
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 24 Aug 2016 10:27 AM |
| http://wiki.roblox.com/index.php?title=Data_store |
|
|
| Report Abuse |
|
|