How do i access the local players character model in workspace through script

image
i’m trying to access the local players character model but dont know how

local plr = game:GetService("Players").LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()

-- Code Here

Keep in mind that LocalPlayer can only be defined in local scripts, and local scripts only run in StarterGui, StarterPlayerScripts, and etc.

6 Likes

And also in players characters.

1 Like