Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Solved]How To Change A Clients Skin Color?

Asked by
Donut792 216 Moderation Voter
4 years ago
Edited 4 years ago

alright so pretty simple concept and i thought i had it in the bag but for some reason it does not work even though it is only the begining of a script and the "Hex" values are just Color3 Values and it prints off Changed so im not seeing a problem here

LocalScript:

local NextButton = script.Parent.Next
local PreviousButton = script.Parent.Previous
local WhiteHex = script.Parent.White.Value
local TanHex = script.Parent.Tan.Value
local LatinoHex = script.Parent.Latino.Value
local LightskinHex = script.Parent.Lightskin.Value
local BrownHex = script.Parent.Brown.Value
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local BodyColors = Character:WaitForChild("Body Colors")
local ColorHexList = {BodyColors.HeadColor3,BodyColors.LeftArmColor3,BodyColors.LeftLegColor3,BodyColors.RightArmColor3,BodyColors.RightLegColor3,BodyColors.TorsoColor3}
wait(4)
for i,v in pairs(ColorHexList) do
    v = Color3.new(BrownHex)
    print("Changed")
end

Solved here: https://scriptinghelpers.org/questions/88547/solvedscript-not-incrementing-correctly

Answer this question