|
| 13 Jul 2011 08:15 AM |
| Does a character also have a :WaitForDataReady()?? |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2011 08:22 AM |
No only a player, but you can just use :GetPlayerFromCharacter():WaitForDataReady()
~ Mitch ~ |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2011 08:25 AM |
So why doesn't this work?!
game.Players.PlayerAdded:connect(function(n) n.CharacterAdded:connect(function() x.Text = "2" repeat wait() until n.DataReady == true m = Instance.new("Model") m.Parent = game.Workspace m.Name = n.Name for i,v in pairs(n.Backpack:GetChildren()) do v:Remove() end for x,d in pairs(n.StarterGear:GetChildren()) do d.Parent = m d:Remove() end for l,o in pairs(n.Character:GetChildren()) do if o:IsA("Tool") then o:Remove() end end end) end)
|
|
|
| Report Abuse |
|
|
kornawe
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 1272 |
|
|
| 13 Jul 2011 08:31 AM |
| In build mode data is never ready |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2011 08:49 AM |
"In build mode data is never ready"
NO, REALLY? -_- |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2011 08:52 AM |
| Ehhn, doesn't work in play mode either, |
|
|
| Report Abuse |
|
|