Noverwyn Documentation
API set:
148

‹ All natives

Namespace: ENTITY API set: server Language: Luau Improve

entity:get

Also: player:get

entity:get(key: string): any

Reads a property of the entity.

Parameters#

  • key (string): property name

Returns#

any: nil if it is missing

Example#

if player:get("house") == "Greenveil" then
	player:setBucket(12)
end

See also#

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