extends Instance
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | Humanoid |
ExplorerOrder | string | 3 |
ExplorerImageIndex | string | 9 |
Properties
36AutoJumpEnabled
bool| Field | XML type | Value |
|---|---|---|
Name | string | AutoJumpEnabled |
AutoRotate
bool| Field | XML type | Value |
|---|---|---|
Name | string | AutoRotate |
CameraMaxDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | CameraMaxDistance |
CameraMinDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | CameraMinDistance |
CameraMode
CameraMode| Field | XML type | Value |
|---|---|---|
Name | string | CameraMode |
CameraOffset
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | CameraOffset |
DisplayDistanceType
HumanoidDisplayDistanceType| Field | XML type | Value |
|---|---|---|
Name | string | DisplayDistanceType |
DisplayName
string| Field | XML type | Value |
|---|---|---|
Name | string | DisplayName |
summary | string | Controls the name displayed above the Humanoid. An empty value falls back to the character model's name. |
Health
float| Field | XML type | Value |
|---|---|---|
Name | string | Health |
HealthDisplayDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | HealthDisplayDistance |
Health_XML
float| Field | XML type | Value |
|---|---|---|
Name | string | Health_XML |
HipHeight
float| Field | XML type | Value |
|---|---|---|
Name | string | HipHeight |
Jump
bool| Field | XML type | Value |
|---|---|---|
Name | string | Jump |
JumpPower
float| Field | XML type | Value |
|---|---|---|
Name | string | JumpPower |
JumpReplicate
bool| Field | XML type | Value |
|---|---|---|
Name | string | JumpReplicate |
LeftLeg
Object| Field | XML type | Value |
|---|---|---|
Name | string | LeftLeg |
MaxHealth
float| Field | XML type | Value |
|---|---|---|
Name | string | MaxHealth |
MaxSlopeAngle
float| Field | XML type | Value |
|---|---|---|
Name | string | MaxSlopeAngle |
MoveDirection
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | MoveDirection |
MoveDirectionInternal
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | MoveDirectionInternal |
NameDisplayDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | NameDisplayDistance |
NameOcclusion
NameOcclusion| Field | XML type | Value |
|---|---|---|
Name | string | NameOcclusion |
summary | string | Sets how to display other humanoid names to this humanoid's player. <a href="http://wiki.roblox.com/index.php/NameOcclusion" target="_blank">More info</a> |
PlatformStand
bool| Field | XML type | Value |
|---|---|---|
Name | string | PlatformStand |
RigType
HumanoidRigType| Field | XML type | Value |
|---|---|---|
Name | string | RigType |
RightLeg
Object| Field | XML type | Value |
|---|---|---|
Name | string | RightLeg |
SeatPart
Object| Field | XML type | Value |
|---|---|---|
Name | string | SeatPart |
Sit
bool| Field | XML type | Value |
|---|---|---|
Name | string | Sit |
Strafe
bool| Field | XML type | Value |
|---|---|---|
Name | string | Strafe |
TargetPoint
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | TargetPoint |
Torso
Object| Field | XML type | Value |
|---|---|---|
Name | string | Torso |
WalkAngleError
float| Field | XML type | Value |
|---|---|---|
Name | string | WalkAngleError |
WalkDirection
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | WalkDirection |
WalkSpeed
float| Field | XML type | Value |
|---|---|---|
Name | string | WalkSpeed |
WalkToPart
Object| Field | XML type | Value |
|---|---|---|
Name | string | WalkToPart |
WalkToPoint
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | WalkToPoint |
maxHealth
float| Field | XML type | Value |
|---|---|---|
Name | string | maxHealth |
Functions
21AddCustomStatus
(status: string) → bool| Field | XML type | Value |
|---|---|---|
Name | string | AddCustomStatus |
AddStatus
(status: Status = …) → bool| Field | XML type | Value |
|---|---|---|
Name | string | AddStatus |
ChangeState
(state: HumanoidStateType = …) → void| Field | XML type | Value |
|---|---|---|
Name | string | ChangeState |
EquipTool
(tool: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | EquipTool |
summary | string | Takes a specified tool and equips it to the Humanoid's Character. Tool argument should be of type 'Tool'. |
GetPlayingAnimationTracks
() → Array| Field | XML type | Value |
|---|---|---|
Name | string | GetPlayingAnimationTracks |
GetState
() → HumanoidStateType| Field | XML type | Value |
|---|---|---|
Name | string | GetState |
GetStateEnabled
(state: HumanoidStateType) → bool| Field | XML type | Value |
|---|---|---|
Name | string | GetStateEnabled |
GetStatuses
() → Array| Field | XML type | Value |
|---|---|---|
Name | string | GetStatuses |
HasCustomStatus
(status: string) → bool| Field | XML type | Value |
|---|---|---|
Name | string | HasCustomStatus |
HasStatus
(status: Status = …) → bool| Field | XML type | Value |
|---|---|---|
Name | string | HasStatus |
LoadAnimation
(animation: Instance) → Instance| Field | XML type | Value |
|---|---|---|
Name | string | LoadAnimation |
Move
(moveDirection: Vector3, relativeToCamera: bool = …) → void| Field | XML type | Value |
|---|---|---|
Name | string | Move |
MoveTo
(location: Vector3, part: Instance = …) → void| Field | XML type | Value |
|---|---|---|
Name | string | MoveTo |
summary | string | Attempts to move the Humanoid and it's associated character to 'part'. 'location' is used as an offset from part's origin. |
RemoveCustomStatus
(status: string) → bool| Field | XML type | Value |
|---|---|---|
Name | string | RemoveCustomStatus |
RemoveStatus
(status: Status = …) → bool| Field | XML type | Value |
|---|---|---|
Name | string | RemoveStatus |
SetClickToWalkEnabled
(enabled: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | SetClickToWalkEnabled |
SetStateEnabled
(state: HumanoidStateType, enabled: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | SetStateEnabled |
TakeDamage
(amount: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | TakeDamage |
summary | string | Decreases health by the amount. Use this instead of changing health directly to make sure weapons are filtered for things such as ForceField(s). |
UnequipTools
() → void| Field | XML type | Value |
|---|---|---|
Name | string | UnequipTools |
summary | string | Takes any active gear/tools that the Humanoid is using and puts them into the backpack. This function only works on Humanoids with a corresponding Player. |
loadAnimation
(animation: Instance) → Instance| Field | XML type | Value |
|---|---|---|
Name | string | loadAnimation |
takeDamage
(amount: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | takeDamage |
Events
22AnimationPlayed
(animationTrack: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | AnimationPlayed |
Climbing
(speed: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | Climbing |
CustomStatusAdded
(status: string) → void| Field | XML type | Value |
|---|---|---|
Name | string | CustomStatusAdded |
CustomStatusRemoved
(status: string) → void| Field | XML type | Value |
|---|---|---|
Name | string | CustomStatusRemoved |
Died
() → void| Field | XML type | Value |
|---|---|---|
Name | string | Died |
FallingDown
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | FallingDown |
FreeFalling
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | FreeFalling |
GettingUp
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | GettingUp |
HealthChanged
(health: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | HealthChanged |
Jumping
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | Jumping |
MoveToFinished
(reached: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | MoveToFinished |
PlatformStanding
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | PlatformStanding |
Ragdoll
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | Ragdoll |
Running
(speed: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | Running |
Seated
(active: bool, currentSeatPart: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | Seated |
ServerEquipTool
(tool: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | ServerEquipTool |
StateChanged
(old: HumanoidStateType, new: HumanoidStateType) → void| Field | XML type | Value |
|---|---|---|
Name | string | StateChanged |
StateEnabledChanged
(state: HumanoidStateType, isEnabled: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | StateEnabledChanged |
StatusAdded
(status: Status) → void| Field | XML type | Value |
|---|---|---|
Name | string | StatusAdded |
StatusRemoved
(status: Status) → void| Field | XML type | Value |
|---|---|---|
Name | string | StatusRemoved |
Strafing
(active: bool) → void| Field | XML type | Value |
|---|---|---|
Name | string | Strafing |
Swimming
(speed: float) → void| Field | XML type | Value |
|---|---|---|
Name | string | Swimming |