|
| 04 Jan 2014 09:25 PM |
i tried
game.Players.PlayerAdded:connect(function (p) p:WaitForDataReady() p:LoadInstance(p.Character.Torso.CFrame) end) game.Players.PlayerRemoving:connect(function (pl) pl:WaitForDataReady() pl:SaveInstance(p.Character.Torso.CFrame) end)
game.Players.PlayerAdded:connect(function (p) p:WaitForDataReady() p:LoadInstance(p.Character.Torso.CFrame) end) game.Players.PlayerRemoving:connect(function (pl) pl:WaitForDataReady() pl:SaveInstance(pl.Character.Torso.CFrame) end)
but it don't work
the hillbilly of the west |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 04 Jan 2014 09:27 PM |
erm
SaveInstance will work... on actual Instances
put the position in a CFrameValue, use SaveInstance on the CFrameValue |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2014 09:29 PM |
like
game.Players.PlayerAdded:connect(function (p) p:WaitForDataReady() p:LoadInstance(pl.Pos.Value) end) game.Players.PlayerRemoving:connect(function (pl) pl:WaitForDataReady() pl:SaveInstance(pl.Pos.Value) end)
game.Players.PlayerAdded:connect(function (p) p:WaitForDataReady() p:LoadInstance(pl.Pos.Value) end) game.Players.PlayerRemoving:connect(function (pl) pl:WaitForDataReady() pl:SaveInstance(pl.Pos.Value) end)
? and then make a script when the player joins it makes there position the same as pl.Pos?
the hillbilly of the west |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 04 Jan 2014 09:34 PM |
no no no
not .Value
just the actual object
then you can :LoadInstance and it will load the CFrameValue
then you use .Value on that |
|
|
| Report Abuse |
|
|