I am attempting to make an effect where the player's body parts are shown as snow. The code changes the color and material of all meshparts in the character. The client seems to show material changes but does not seem to show a change of color. I have included the code used and images of what is happening.
Client
uis.InputBegan:Connect(function(input, gpe)
if input.KeyCode == Enum.KeyCode.V then
local char = player.Character
event:FireServer({"Teleport", char})
end
end)
https://gyazo.com/28a9ee2f57779d02140e3f6ba18c7c6e
Server
local char = t[2]
char.Archivable = true
local clone = char:Clone()
clone:SetPrimaryPartCFrame(char.HumanoidRootPart.CFrame * CFrame.new(0,0,-3))
clone.Parent = workspace
clone.Name = "not " .. player.Name
for _,v in pairs(clone:GetDescendants()) do
if v:IsA("MeshPart") then
v.Parent = workspace
v.BrickColor = BrickColor.new("Institutional white")
v.CanCollide = true
v.Material = "Sand"
v:ClearAllChildren()
else
v:Destroy()
end
end
