Noverwyn Documentation
API set:
148

‹ All natives

Namespace: ENTITY API set: server Language: Luau Improve

entity:remove

entity:remove()

Deletes an entity created by this script.

Example#

cauldron:remove()

Notes#

  • Raises an error if the entity comes from the map or from another script. For a player, use player:kick.

Namespace: PLAYER

Namespace: ENTITY

Namespace: ZONE

Namespace: TIME

Namespace: SCRIPT

Namespace: EVENT

Namespace: CLIENT

Namespace: CLIENT EVENT

Namespace: UNIFORM

Namespace: WAND

Namespace: LOOK

Namespace: CONTROL

Namespace: GAIT

Namespace: VOICE

Namespace: ATELIER

Namespace: TOOL