Entity
An Entity is anything that can take damage (player, penguin, skeleton, etc).
Last updated
An Entity is anything that can take damage (player, penguin, skeleton, etc).
Last updated
Returns the player playing as this entity. If this entity is an NPC (like a ) this will return nil.
Returns current health of the entity.
Returns max health of the entity.
Returns true if the entity is alive.
Returns the current position of the entity.
Sets the position of the entity.
Example usage:
Returns the current CFrame of the entity.
Sets the CFrame of the entity.
Sets the max health of the entity.
Sets a custom display name on the entity's healthbar.
Destroys the entity.