Try it in your browserpreview Source

Local CharacterRoblox✎

The local player's character model, or nil before it has spawned. Client-only.

Pending review

Local Character
  • 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

Script StartLocal CharacterFind First Child Of ClassInstanceHumanoidClass NamePrintValue
The graph this output was compiled from.
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