LocalTransparencyModifier not working?

LocalTransparencyModifier not working?

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

Screenshots:

The Client:

The Server:

Does somebody know why?

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
1 Like

THANK YOU

I did not know it actively tries to make it go invisible no wonder it wasn’t working!
Thank you for the help

1 Like