been trying to figure this out for some time now, i think it has something to do with the player? the problem is line 11 up to line 24 (so the player.Character:FindFirstChild("Body Colors")._______ = BrickColor.new(brickcolor)
local skin = script.Parent.Value.Value
local player = game.Players.LocalPlayer
if skin == 1 then brickcolor = ("Pastel brown") end
if skin == 2 then brickcolor = ("Nougat") end
if skin == 3 then brickcolor = ("Dirt brown") end
if skin == 4 then brickcolor = ("Tawny") end
if player:FindFirstChild("Body Colors") == nil then
local bc = Instance.new("BodyColors")
bc.Name = "Body Colors"
player.Character:FindFirstChild("Body Colors").HeadColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftFootColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftHandColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftLowerArmColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftLowerLegCoolor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftUpperArmColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LeftUpperLegColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").LowerTorsoColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").RightFootColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").RightHandColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").RightLowerArmColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").RightLowerLegColor= BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").RightUpperArmColor = BrickColor.new(brickcolor)
player.Character:FindFirstChild("Body Colors").UpperTorsoColor = BrickColor.new(brickcolor)
end

1 comment
is this the entire script?