|
| 24 May 2017 11:42 PM |
| Anyone have a script or any idea of how I could script a datasave to store text, like from a text box/label? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 May 2017 11:51 PM |
local ds = game:GetService("DataStoreService"):GetDataStore("GuiText");
ds:SetAsync("somekey",script.Parent.Text);
print("saved!");
|
|
|
| Report Abuse |
|
|
baniah1
|
  |
| Joined: 15 Jan 2016 |
| Total Posts: 1984 |
|
|
| 24 May 2017 11:52 PM |
| you can just make a little save progress gui and then i can help you |
|
|
| Report Abuse |
|
|
|
| 25 May 2017 05:25 AM |
| https://forum.roblox.com/Forum/ShowPost.aspx?PostID=216818867 :P |
|
|
| Report Abuse |
|
|
|
| 25 May 2017 05:30 AM |
texttosave="Hello World"Game:service'DataStoreService':GetDataStore'textz':SetAsync("mytext123",texttosave)
|
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 25 May 2017 05:33 AM |
local Text = "wot in tarnation" local DS = game:GetService("DataStoreService"):GetDataStore("DSName") local key = whatever your key is DS:UpdateAsync(key,function(old) new = Text return new end) |
|
|
| Report Abuse |
|
|
|
| 25 May 2017 03:19 PM |
But I cant save any text over 50 characters that way....
|
|
|
| Report Abuse |
|
|