Humanoid

extends Instance

Class fields

FieldXML typeValue
NamestringHumanoid
ExplorerOrderstring3
ExplorerImageIndexstring9

Properties

36
AutoJumpEnabled
bool
FieldXML typeValue
NamestringAutoJumpEnabled
AutoRotate
bool
FieldXML typeValue
NamestringAutoRotate
CameraMaxDistance
float
FieldXML typeValue
NamestringCameraMaxDistance
CameraMinDistance
float
FieldXML typeValue
NamestringCameraMinDistance
CameraMode
CameraMode
FieldXML typeValue
NamestringCameraMode
CameraOffset
Vector3
FieldXML typeValue
NamestringCameraOffset
DisplayDistanceType
HumanoidDisplayDistanceType
FieldXML typeValue
NamestringDisplayDistanceType
DisplayName
string
FieldXML typeValue
NamestringDisplayName
summarystringControls the name displayed above the Humanoid. An empty value falls back to the character model's name.
Health
float
FieldXML typeValue
NamestringHealth
HealthDisplayDistance
float
FieldXML typeValue
NamestringHealthDisplayDistance
Health_XML
float
FieldXML typeValue
NamestringHealth_XML
HipHeight
float
FieldXML typeValue
NamestringHipHeight
Jump
bool
FieldXML typeValue
NamestringJump
JumpPower
float
FieldXML typeValue
NamestringJumpPower
JumpReplicate
bool
FieldXML typeValue
NamestringJumpReplicate
LeftLeg
Object
FieldXML typeValue
NamestringLeftLeg
MaxHealth
float
FieldXML typeValue
NamestringMaxHealth
MaxSlopeAngle
float
FieldXML typeValue
NamestringMaxSlopeAngle
MoveDirection
Vector3
FieldXML typeValue
NamestringMoveDirection
MoveDirectionInternal
Vector3
FieldXML typeValue
NamestringMoveDirectionInternal
NameDisplayDistance
float
FieldXML typeValue
NamestringNameDisplayDistance
NameOcclusion
NameOcclusion
FieldXML typeValue
NamestringNameOcclusion
summarystringSets 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
FieldXML typeValue
NamestringPlatformStand
RigType
HumanoidRigType
FieldXML typeValue
NamestringRigType
RightLeg
Object
FieldXML typeValue
NamestringRightLeg
SeatPart
Object
FieldXML typeValue
NamestringSeatPart
Sit
bool
FieldXML typeValue
NamestringSit
Strafe
bool
FieldXML typeValue
NamestringStrafe
TargetPoint
Vector3
FieldXML typeValue
NamestringTargetPoint
Torso
Object
FieldXML typeValue
NamestringTorso
WalkAngleError
float
FieldXML typeValue
NamestringWalkAngleError
WalkDirection
Vector3
FieldXML typeValue
NamestringWalkDirection
WalkSpeed
float
FieldXML typeValue
NamestringWalkSpeed
WalkToPart
Object
FieldXML typeValue
NamestringWalkToPart
WalkToPoint
Vector3
FieldXML typeValue
NamestringWalkToPoint
maxHealth
float
FieldXML typeValue
NamestringmaxHealth

Functions

21
AddCustomStatus
(status: string) → bool
FieldXML typeValue
NamestringAddCustomStatus
AddStatus
(status: Status = …) → bool
FieldXML typeValue
NamestringAddStatus
ChangeState
(state: HumanoidStateType = …) → void
FieldXML typeValue
NamestringChangeState
EquipTool
(tool: Instance) → void
FieldXML typeValue
NamestringEquipTool
summarystringTakes a specified tool and equips it to the Humanoid's Character. Tool argument should be of type 'Tool'.
GetPlayingAnimationTracks
() → Array
FieldXML typeValue
NamestringGetPlayingAnimationTracks
GetState
() → HumanoidStateType
FieldXML typeValue
NamestringGetState
GetStateEnabled
(state: HumanoidStateType) → bool
FieldXML typeValue
NamestringGetStateEnabled
GetStatuses
() → Array
FieldXML typeValue
NamestringGetStatuses
HasCustomStatus
(status: string) → bool
FieldXML typeValue
NamestringHasCustomStatus
HasStatus
(status: Status = …) → bool
FieldXML typeValue
NamestringHasStatus
LoadAnimation
(animation: Instance) → Instance
FieldXML typeValue
NamestringLoadAnimation
Move
(moveDirection: Vector3, relativeToCamera: bool = …) → void
FieldXML typeValue
NamestringMove
MoveTo
(location: Vector3, part: Instance = …) → void
FieldXML typeValue
NamestringMoveTo
summarystringAttempts 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
FieldXML typeValue
NamestringRemoveCustomStatus
RemoveStatus
(status: Status = …) → bool
FieldXML typeValue
NamestringRemoveStatus
SetClickToWalkEnabled
(enabled: bool) → void
FieldXML typeValue
NamestringSetClickToWalkEnabled
SetStateEnabled
(state: HumanoidStateType, enabled: bool) → void
FieldXML typeValue
NamestringSetStateEnabled
TakeDamage
(amount: float) → void
FieldXML typeValue
NamestringTakeDamage
summarystringDecreases 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
FieldXML typeValue
NamestringUnequipTools
summarystringTakes 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
FieldXML typeValue
NamestringloadAnimation
takeDamage
(amount: float) → void
FieldXML typeValue
NamestringtakeDamage

Events

22
AnimationPlayed
(animationTrack: Instance) → void
FieldXML typeValue
NamestringAnimationPlayed
Climbing
(speed: float) → void
FieldXML typeValue
NamestringClimbing
CustomStatusAdded
(status: string) → void
FieldXML typeValue
NamestringCustomStatusAdded
CustomStatusRemoved
(status: string) → void
FieldXML typeValue
NamestringCustomStatusRemoved
Died
() → void
FieldXML typeValue
NamestringDied
FallingDown
(active: bool) → void
FieldXML typeValue
NamestringFallingDown
FreeFalling
(active: bool) → void
FieldXML typeValue
NamestringFreeFalling
GettingUp
(active: bool) → void
FieldXML typeValue
NamestringGettingUp
HealthChanged
(health: float) → void
FieldXML typeValue
NamestringHealthChanged
Jumping
(active: bool) → void
FieldXML typeValue
NamestringJumping
MoveToFinished
(reached: bool) → void
FieldXML typeValue
NamestringMoveToFinished
PlatformStanding
(active: bool) → void
FieldXML typeValue
NamestringPlatformStanding
Ragdoll
(active: bool) → void
FieldXML typeValue
NamestringRagdoll
Running
(speed: float) → void
FieldXML typeValue
NamestringRunning
Seated
(active: bool, currentSeatPart: Instance) → void
FieldXML typeValue
NamestringSeated
ServerEquipTool
(tool: Instance) → void
FieldXML typeValue
NamestringServerEquipTool
StateChanged
(old: HumanoidStateType, new: HumanoidStateType) → void
FieldXML typeValue
NamestringStateChanged
StateEnabledChanged
(state: HumanoidStateType, isEnabled: bool) → void
FieldXML typeValue
NamestringStateEnabledChanged
StatusAdded
(status: Status) → void
FieldXML typeValue
NamestringStatusAdded
StatusRemoved
(status: Status) → void
FieldXML typeValue
NamestringStatusRemoved
Strafing
(active: bool) → void
FieldXML typeValue
NamestringStrafing
Swimming
(speed: float) → void
FieldXML typeValue
NamestringSwimming