snoop47
|
  |
| Joined: 31 Oct 2010 |
| Total Posts: 49 |
|
|
| 03 May 2015 11:25 AM |
| hello I have a question I can script regular good but I cant find a way to make a floor in a house whe the player can put some stuff on and when he leaves it saves and after it joins it reloads the basic I idea I hat was making an rpg with a personal home where you can buy some furniture but is it possible or do I need to use the plot like in roblox building and use that one some way ? |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
| |
|
snoop47
|
  |
| Joined: 31 Oct 2010 |
| Total Posts: 49 |
|
|
| 03 May 2015 11:29 AM |
ok but how could I save the block lets say for example I got one block called brick in a model from the character game.workspace.modelname.blockthosave how I save that block so I can load it when the player rejoins ? but ty for helping me for that piece already :) |
|
|
| Report Abuse |
|
|
snoop47
|
  |
| Joined: 31 Oct 2010 |
| Total Posts: 49 |
|
|
| 03 May 2015 11:31 AM |
game.Players.PlayerAdded:connect(function(Player) Player:WaitForDataReady() Player:SaveInstance("Model", game.Workspace.Model) end)
uhm something like this ? |
|
|
| Report Abuse |
|
|
| |
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 03 May 2015 11:36 AM |
ye datapersistence is fugly but it's the easiest method
you can also make some complicated thingy with datastore instead |
|
|
| Report Abuse |
|
|
snoop47
|
  |
| Joined: 31 Oct 2010 |
| Total Posts: 49 |
|
|
| 03 May 2015 11:40 AM |
please give an example because I cant understand it otherwise srry but ty anyway for helping
|
|
|
| Report Abuse |
|
|
snoop47
|
  |
| Joined: 31 Oct 2010 |
| Total Posts: 49 |
|
|
| 03 May 2015 11:52 AM |
ok I gonna use this template http://www.roblox.com/games/174362768/snoop47s-Place-Number-14 only need to strip the codes for basic stuff :o
|
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 03 May 2015 11:53 AM |
Use the wiki, http://wiki.roblox.com/index.php?title=Data_store
Save all of the property's into a table then load it and make a script create the parts and resize ect
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|