So...basically i created a tool that makes your arms visible (even in 1st person) while equipped,but i'm having a trouble with it. The RenderStepped event won't disconnect.
This is my first script (local script)
tool=script.Parent tool.Equipped:connect(function() renderStepped=game:GetService('RunService').RenderStepped:connect(function() tool.Parent['Right Arm'].LocalTransparencyModifier=0 tool.Parent['Left Arm'].LocalTransparencyModifier=0 end) end) tool.Unequipped:connect(function() renderStepped:disconnect() end)
then i tried to make a server script fire a remote event when it's unequipped
--Server script tool=script.Parent unequip=tool.Unequip tool.Unequipped:connect(function() unequip:FireClient(game.Players:GetPlayerFromCharacter(tool.Parent)) end) --Local script tool=script.Parent unequipEvent=tool.Unequip tool.Equipped:connect(function() renderStepped=game:GetService('RunService').RenderStepped:connect(function() tool.Parent['Right Arm'].LocalTransparencyModifier=0 tool.Parent['Left Arm'].LocalTransparencyModifier=0 end) end) unequipEvent.OnClientEvent:connect(function() renderStepped:disconnect() end)
none of this worked.