local playername = game.Players.LocalPlayer local playercharacter = playername.Character game.Workspace.playercharacter.Head.BrickColor = BrickColor.new("Lime green")
The character takes longer to load than the LocalScript, so you have to wait for it.
local plr = game.Players.LocalPlayer local char = plr.Character or pr.CharacterAdded:Wait() local head = char:WaitForChild("Head"); head.BrickColor = BrickColor.new("Lime green")