|
| 30 Oct 2017 10:53 PM |
I see yt videos on how to datastore and they're all on leaderstats.
Plus, i've been trying to find a way to save BodyDepthScale forever now, please help.
|
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 11:07 PM |
I have a script that data stores leaderstats and the size of your char.
R$1,038 |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 11:45 PM |
You can datastore anything using Roblox's DataStoreService, this includes JSONEncoded tables even.
Let's take a look at a basic storing of a JSON table:
local Functions = {} Functions.__Index = Functions
local a = game:GetService("DataStoreService"):GetDataStore("Table") local b = {1,true,"striiing"} local c = game:GetService("HttpService")
functions Functions.StoreTable(self,table) a:SetAsync(key,c:JSONEncode(b)) end
Using this setup we can call our StoreTable function and save the entire table!
If you'd like to read up more on these concepts I recommend these articles: http://wiki.roblox.com/index.php?title=JSON http://wiki.roblox.com/index.php?title=Table http://wiki.roblox.com/index.php?title=Data_store
Programmer, DevForum Member, RDC Attendee, Roblox QA Tester, and Roblox Beta Tester. |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 11:48 PM |
| I'm a completely new scripter, WillyWonka, could you give me a run down on how I would save size of char? |
|
|
| Report Abuse |
|
|
| |
|