I have attempted to create a script that changes the color of the player's head to 'Dark stone grey' whenever they touch a certain part. The script is a normal script and is a child to the part that the player should touch.
local Player = game.Players.LocalPlayer
local part = script.Parent
function OnTouched(part)
Player.Head.BrickColor = BrickColor.new("Dark stone grey")
end

1 comment
It worked, thank you.