Character (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>LPGhatguy
Alright, who messed up the property template?
>LPGhatguy
Alright, who messed up the property template?
(No difference)

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 )

See Also

CharacterAdded PlayerAdded