generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

character:WaitForDataReady()???

Previous Thread :: Next Thread 
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
13 Jul 2011 08:15 AM
Does a character also have a :WaitForDataReady()??
Report Abuse
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
13 Jul 2011 08:22 AM
No only a player, but you can just use :GetPlayerFromCharacter():WaitForDataReady()

~ Mitch ~
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
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 is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
13 Jul 2011 08:31 AM
In build mode data is never ready
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
13 Jul 2011 08:49 AM
"In build mode data is never ready"

NO, REALLY? -_-
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
13 Jul 2011 08:52 AM
Ehhn, doesn't work in play mode either,
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image