Skip to main content

Room.FindPlayerByName(string name)

Looks for the player in room with a specific name.

Parameters:

NameTypeDescription
namestringName of the player.

Returns:

typeDescription
MLPlayerThe player if found, Nil otherwise.

Usage

---@type string
local name;


local val0 = Room:FindPlayerByName(name)