I have a character customization GUI I'm working on and a skin color section. Inside a scrolling frame there are skin tone squares. Each square is a image button and the image is the color of the skin I want. The first skin color I started on was Br.yellowish orange. Here is the local script (I have tried both kinds of scripts but I thought local would be best because it has access to local player) inside the image button. (That should change the players skin color to Br.yellowish orange)
local button = script.Parent
button.MouseButton1Down:connect(function(plr)
local name = plr.Name
local playerinplayers = game.Players:FindFirstChild(plr.Name)
if playerinplayers ~= nil then
playerinplayers.CanLoadCharacterAppearance = false
plr.Head.face.Texture = "rbxassetid://156071940"
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("Br.yellowish orange")
bodycolors.LeftArmColor = BrickColor.new("Br.yellowish orange")
bodycolors.LeftLegColor = BrickColor.new("Br.yellowish orange")
bodycolors.RightLegColor = BrickColor.new("Br.yellowish orange")
bodycolors.TorsoColor = BrickColor.new("Br.yellowish orange")
bodycolors.HeadColor = BrickColor.new("Br.yellowish orange")
end
end)

2 comments
I added onto your great answer. Also, you need 5 reputation in order to comment. You're almost there. Good Luck!
ty