I disabled the avatar shadows and now I need to disable accessory shadows. I have tried two things. Neither work:
Heres the first one:
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAppearanceLoaded:Connect(function(Character)
for _, v in pairs(Character:GetChildren()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") or v:IsA ("Accessory") then
v.CastShadow = false
end
end
end)
end)
Here is the second one:
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAppearanceLoaded:Connect(function(Character)
for _, v in pairs(Character:GetChildren()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") then v.CastShadow = false elseif v:IsA("Accessory") then v.Handle.CastShadow = false end
end
end)
end)
