It pops up whenever I set my character’s parts to invisible and back again.
Is this the right way to set a character’s parts to visible again?:
for _, w in pairs(game.Players:FindFirstChild(v).Character:GetDescendants()) do
if w:IsA("BasePart") or w:IsA("Decal") then
w.Transparency = 0;
end
end
You could inside your script not turn it invisible if the BasePart’s Name is HumanoidRootPart:
for _, w in pairs(game.Players:FindFirstChild(v).Character:GetDescendants()) do
if w:IsA("BasePart") or w:IsA("Decal") and w.Name ~= "HumanoidRootPart" then
w.Transparency = 0;
end
end