entities
Entity queries. A handle from a previous tick may be stale, so re-query each tick or guard with entity.isValid.
Functions
4 functions. Signatures are generated from the client, so they describe the build you are running.
entities.all() -> table<Entity>Every entity in render distance, capped at 512.
entities.players() -> table<Entity>Other players only; never the local player.
entities.nearest([maxDistance:number]) -> Entity|nilNearest living, non-friend entity that is not you.
entities.count() -> number