Guide 1 Docs 2 Reference 3

Function of World

world.npc

Places a player-shaped entity every client from 1.8 sees; removed when the script ends or reloads.

world.npc(opts: { name: string?, at: Vec3?, rotation: BodyRotation?, skin: (string | { value: string, signature: string } | false)?, }) → Npc

Parameters

opts{ name: string?, at: Vec3?, rotation: BodyRotation?, skin: (string | { value: string, signature: string } | false)?, }required

Returns

Npc

Used in