I am making a first-person shooter and put a MESH PART into the starter character. But when I play the game it turns invisible. I tried to use this in a local script but it didn’t work.
function antiTrans(part)
part.LocalTransparencyModifier = part.Transparency
part.Changed:connect(function (property)
part.LocalTransparencyModifier = part.Transparency--Changes the local modifyer(client side only)
end)
end
while wait() do
antiTrans(script.Parent)
end