Character (Property)

From Legacy Roblox Wiki
Revision as of 02:14, 28 December 2010 by >LPGhatguy (Alright, who messed up the property template?)
Jump to navigationJump to search


Character
Property Model Character
Description A model containing the parts, joints, and scripts for character.
Member of Player



Description

The Character property is initially nil. But is set when the Character is spawned.


Example:

function onPlayerAdded( player )
print( player.Character ) -- nil
player.CharacterAdded:wait()
print( player.Character ) -- set (.Name==player.Name)
end
Game.Players.PlayerAdded:connect( onPlayerAdded )

See Also

CharacterAdded PlayerAdded