FindPlayerByName
7/14/25Less than 1 minute
Room.FindPlayerByName(string name)
Looks for the player in room with a specific name.
Parameters:
Name | Type | Description |
---|---|---|
name | string | Name of the player. |
Returns:
type | Description |
---|---|
MLPlayer | The player if found, Nil otherwise. |
Usage
---@type string
local name;
local val0 = Room:FindPlayerByName(name)