How can i set a Color from a variable?
Im trying to save the players skin color,then change it to black and then change his skincolor back to the saved color.This is what i currently have:
02 | script.Color.Value = Color 3. fromRGB(char.Head.Color) |
03 | for i,part in pairs (char:GetChildren()) do |
04 | if part:IsA( "MeshPart" ) then |
05 | part.BrickColor = BrickColor.new( "Really black" ) |
09 | elseif Value = = "Off" then |
10 | local Part = player.Character.HumanoidRootPart |
11 | local char = player.Character |
12 | for i,part in pairs (char:GetChildren()) do |
13 | if part:IsA( "MeshPart" ) then |
14 | part.Color = Color 3. fromRGB(script.Color.Value) |