I used LocalTransparencyModifier to make the player's body parts visible, but how can we make the accessories visible?
game:GetService("RunService").RenderStepped:Connect(function() for i, v in pairs(Character:GetChildren()) do if v:IsA:("Accessory") then v.LocalTransparencyModifier = 0 end end end)
In the output is says:
LocalTransparencyModifier is not a valid member of Accessory
Help will be appreciated
The handle is the actual thing you want to see, right? Put
game:GetService("RunService").RenderStepped:Connect(function() for i, v in pairs(Character:GetChildren()) do if v:IsA:("Accessory") then v.Handle.LocalTransparencyModifier = 0 end end end)
It depends on what you are trying to achieve. I personally recommend parenting the accessory to the workspace and welding it to the character, as this will achieve exactly what you said you want while being easy to build upon. Furthermore this would be less requiring than what you wrote as iterating through a character every 60th of a second costs a lot.
I can't provide anything more without knowing specifics. Good luck with your game, feel free to ask more if you still have questions