I have an inventory system that welds meshParts to the Arm but when i go to first person it dissapears i tried using LocalTransparencyModifier but it did not work
Code:
local function UpdateItemTransparency(Item)
local Right_Arm = Character:FindFirstChild("Right Arm")
local Item_Found = Right_Arm:FindFirstChild(Item)
Item_Found.LocalTransparencyModifier = 0
end
The LocalTransparencyModifier actively tries to hide the Object so in order to constantly update the Modifier you can use :GetPropertyChangedSignal
local function UpdateItemTransparency(Item)
local Right_Arm = Character:FindFirstChild("Right Arm")
local Item_Found = Right_Arm:FindFirstChild(Item)
Item_Found.LocalTransparencyModifier = 0
Item_Found:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function()
Item_Found.LocalTransparencyModifier = 0
end)
end