--------------------------------------------------------------------


mouse.KeyDown:connect(function(key)
	if key == camkey and enabled == false then
		enabled = true
		local character = char.Parent
		local descendants = character:GetDescendants()
		
		for index, descendant in pairs(descendants) do
			if descendant:IsA("Accessory") then
				descendant.Handle.Transparency = 1
			end
		end
			
	elseif key == camkey and enabled == true then
		enabled = false
		local character = char.Parent
		local descendants = character:GetDescendants()

		for index, descendant in pairs(descendants) do
			if descendant:IsA("Accessory") then
				descendant.Handle.Transparency = 0
			end
		end
	end
end)
car.DriveSeat.ChildRemoved:Connect(function(child)
	
	if child.Name == "SeatWeld" then
		local character = child.Part1.Parent
		local descendants = character:GetDescendants()

		for index, descendant in pairs(descendants) do
			if descendant:IsA("Accessory") then
				descendant.Handle.Transparency = 0
			end
		end
	end
end)
