function FpsCamera.MountTransparency(i,H)local X=H.Update if X then H.BaseUpdate=X H.Update=i.UpdateTransparency else i:Warn("\077\111\117\110\116\084\114\097\110\115\112\097\114\101\110\099\121 - \067\111\117\108\100 \110\111\116 \102\105\110\100 \084\114\097\110\115\112\097\114\101\110\099\121\058\085\112\100\097\116\101\040\041\033")end if H.IsValidPartToModify then H.IsValidPartToModify=i.IsValidPartToModify H.HeadAttachments=i.HeadAttachments H.ForceRefresh=true else i:Warn("\077\111\117\110\116\084\114\097\110\115\112\097\114\101\110\099\121 - \067\111\117\108\100 \110\111\116 \102\105\110\100 \084\114\097\110\115\112\097\114\101\110\099\121\058\073\115\086\097\108\105\100\080\097\114\116\084\111\077\111\100\105\102\121\040\112\097\114\116\041\033")end if H.SetupTransparency then H.BaseSetupTransparency=H.SetupTransparency H.SetupTransparency=i.SetupTransparency else i:Warn("\077\111\117\110\116\084\114\097\110\115\112\097\114\101\110\099\121 - \067\111\117\108\100 \110\111\116 \102\105\110\100 \084\114\097\110\115\112\097\114\101\110\099\121\058\083\101\116\117\112\084\114\097\110\115\112\097\114\101\110\099\121\040\099\104\097\114\097\099\116\101\114\041\033")end end
-- Overloads functions in Roblox's TransparencyController
-- module with replacement functions in the FpsCamera.

function FpsCamera:MountTransparency(Transparency)
	local baseUpdate = Transparency.Update

	if baseUpdate then
		Transparency.BaseUpdate = baseUpdate
		Transparency.Update = self.UpdateTransparency
	else
		self:Warn("MountTransparency - Could not find Transparency:Update()!")
	end

	if Transparency.IsValidPartToModify then
		Transparency.IsValidPartToModify = self.IsValidPartToModify
		Transparency.HeadAttachments = self.HeadAttachments
		Transparency.ForceRefresh = true
	else
		self:Warn("MountTransparency - Could not find Transparency:IsValidPartToModify(part)!")
	end

	if Transparency.SetupTransparency then
		Transparency.BaseSetupTransparency = Transparency.SetupTransparency
		Transparency.SetupTransparency = self.SetupTransparency
	else
		self:Warn("MountTransparency - Could not find Transparency:SetupTransparency(character)!")
	end
end
