canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Local PlayerRoblox✎

The player this client belongs to. Client-only: it is nil on the server, and Roswaal says so if the script is not a LocalScript.

Pending review

Local Player
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • pure — no execution pins, wire it anywhere

Outputs

  • player:Player

What it compiles to

Script StartLocal PlayerGet PropertyInstanceNamePropertyPrintValue
The graph this output was compiled from.
luau
local Players = game:GetService("Players")

print(Players.LocalPlayer.Name)

Info

The Players service is reached for you, and hoisted the same way — no Get Service node needed. Used in a Script rather than a LocalScript, this compiles fine and is nil at runtime, so Roswaal warns instead.

Not reviewed yet