--this part manages the local script

local addMyLocalScript = function(player)
	local localScript = script["Chain Coupler Local"]:Clone()
	local backpack = player:WaitForChild("Backpack")
	if not player:WaitForChild("Backpack"):FindFirstChild("Chain Coupler Local") then	
		localScript.Parent = player.Backpack
	end
end

local addScriptAtRespawn = function(player)
	player.CharacterAdded:connect(function() addMyLocalScript(player) end)
end
