Local CharacterRoblox✎
The local player's character model, or nil before it has spawned. Client-only.
Pending review
- needs the Roblox engine — its datatypes, its DataModel or its scheduler
- pure — no execution pins, wire it anywhere
Outputs
- character:Model?
What it compiles to
luau
local Players = game:GetService("Players") print((Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") :: Humanoid?))
Info
Nil until the character has spawned. Connect to CharacterAdded when you need to be sure, rather than reading this at the top of a script.
Not reviewed yet