local A=script.ButterflyManager if not game.StarterGui:FindFirstChild("\066\117\116\116\101\114\102\108\121\077\097\110\097\103\101\114")then local J=A:Clone()J.Parent=game.StarterGui J.Disabled=false for J,X in pairs(game.Players:GetPlayers())do if X:FindFirstChild("\080\108\097\121\101\114\071\117\105")and not X.PlayerGui:FindFirstChild("\066\117\116\116\101\114\102\108\121\077\097\110\097\103\101\114\083\099\114\105\112\116")then local J=A:Clone()J.Archivable=false J.Disabled=false J.Parent=X.PlayerGui end end end

local ButterflyManagerScript = script.ButterflyManager
if not game.StarterGui:FindFirstChild("ButterflyManager") then
	local NewScript = ButterflyManagerScript:Clone()
	NewScript.Parent = game.StarterGui
	NewScript.Disabled = false
	
	-- Give players scripts
	for _, Player in pairs(game.Players:GetPlayers()) do
		if Player:FindFirstChild("PlayerGui") and not Player.PlayerGui:FindFirstChild("ButterflyManagerScript") then
			local NewScript = ButterflyManagerScript:Clone()
			NewScript.Archivable = false
			NewScript.Disabled = false
			
			NewScript.Parent = Player.PlayerGui
		end
	end
end
