Class

Player

since 0.1.3-alpha

Represents a player connected to the game.

InheritsInstance

Properties

5
NameTypeAccessDescription
CharacterInstanceread

The player's character model, or nil if it has not spawned yet.

since 0.1.3-alphaRoblox ↗
UserIdnumberread

The player's unique Roblox account id.

since 0.1.3-alphaRoblox ↗
TeamInstanceread

The Team the player belongs to, or nil if they are not on a team.

since 0.1.3-alphaRoblox ↗
DisplayNamestringread

The player's display name (the name shown above their character).

since 0.1.3-alphaRoblox ↗
CharacterAddedEventread

Fires when this Player's Character model is (re)assigned. This will ONLY fire when the .Character property becomes non-nil. This event is automatically updated (around) 4 times per second. Madius does NOT provide a CharacterRemoving event; treat a fresh CharacterAdded as the signal that the prior character is gone.

since 1.8.3-freeRoblox ↗