First person makes items stuck to player invisible

the script below makes sure the arms and legs of a player arent invisible when going into first person, though when a new item is created, a grappling rope, stuck to the arm, its still invisible in first person. Help?


-- Variables --
local player = game:GetService("Players").LocalPlayer 
local character = player.Character or player.CharacterAdded:Wait()
-- Events --
game:GetService("RunService").RenderStepped:Connect(function()
	-- Visible Arms 2.0 Status Working --
	for i, part in pairs(character:GetChildren()) do
		if string.match(part.Name, "Arm") or string.match(part.Name, "Leg") then
			part.LocalTransparencyModifier = 0
		end
	end
end)

Add another string.match() that looks for the name of the grappling hook.

if string.match(part.Name, "Arm") or string.match(part.Name, "Leg") or string.match(part.Name, "Hook") then
	part.LocalTransparencyModifier = 0
end
1 Like

i dont know the name of the grappling hook tho, its just a part that gets created, i can send you the script of the grappling hook, but i changed alot of it, its basically made by someone else and i destroyed half the script so it is the way i want it lol, it still works fine tho