Skip to main content

Room.FindPlayersInCollider(Collider collider )

Finds list of players which are inside the specified collider. Uses the volume defined by Bounds of the collider. Same as FindPlayersInBounds.

Parameters:

NameTypeDescription
colliderColliderCollider

Returns:

typeDescription
MLPlayer[]List of players which are inside the specified collider

Usage

---@type Collider
local collider ;


local val0 = Room:FindPlayersInCollider(collider )