Character (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>LPGhatguy Added "clear floats" to keep everything in-line |
>LPGhatguy Alright, who messed up the property template? |
||
Line 6: | Line 6: | ||
|property = [[Instance|Model]] ''Character'' | |property = [[Instance|Model]] ''Character'' | ||
|description = A model containing the parts, joints, and scripts for character. | |description = A model containing the parts, joints, and scripts for character. | ||
|object = | |object = Player | ||
|}} | |}} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 02:14, 28 December 2010
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 )