local J="\073\078\083\069\082\084 \084\089\067\079\079\078 \078\065\077\069 \072\069\082\069"if game.Workspace:FindFirstChild(J)then local s=nil local p=game.Workspace:FindFirstChild(J)local Z=game.Workspace:FindFirstChild("\090\101\100\110\111\118\'\115 \084\121\099\111\111\110 \075\105\116")local d=Z["\082\069\065\068 \077\069"].Script:Clone()local t=(Z.Tycoons:GetChildren())[1].Entrance["\084\111\117\099\104 \116\111 \099\108\097\105\109\033"].GateControl:Clone()if Z then for J,p in pairs(Z.Tycoons:GetChildren())do if p then s=p.PurchaseHandler:Clone()p:Destroy()end end if s~=nil then for J,p in pairs(p.Tycoons:GetChildren())do local F=p:Clone();(F:FindFirstChild("\080\117\114\099\104\097\115\101\072\097\110\100\108\101\114")):Destroy();(s:Clone()).Parent=F local G=Instance.new("\066\114\105\099\107\067\111\108\111\114\086\097\108\117\101",F)G.Value=BrickColor.new(tostring(p.Name))G.Name="\084\101\097\109\067\111\108\111\114"F.Name=p.TeamName.Value F.Cash.Name="\067\117\114\114\101\110\099\121\084\111\067\111\108\108\101\099\116"F.Parent=Z.Tycoons F.TeamName:Destroy()p:Destroy();(F.Essentials:FindFirstChild("\067\097\115\104 \116\111 \099\111\108\108\101\099\116\058 \036\048")).NameUpdater:Destroy()local S=d:Clone()S.Parent=F.Essentials:FindFirstChild("\067\097\115\104 \116\111 \099\111\108\108\101\099\116\058 \036\048")S.Disabled=false F.Gate["\084\111\117\099\104 \116\111 \099\108\097\105\109 \111\119\110\101\114\115\104\105\112\033"].GateControl:Destroy()local C=t:Clone()C.Parent=F.Gate["\084\111\117\099\104 \116\111 \099\108\097\105\109 \111\119\110\101\114\115\104\105\112\033"]end else error("\080\108\101\097\115\101 \100\111\110\'\116 \116\097\109\112\101\114 \119\105\116\104 \115\099\114\105\112\116 \110\097\109\101\115 \111\114 \116\104\105\115 \119\111\110\'\116 \119\111\114\107\033")end else error("\080\108\101\097\115\101 \100\111\110\'\116 \099\104\097\110\103\101 \116\104\101 \110\097\109\101 \111\102 \111\117\114 \116\121\099\111\111\110 \107\105\116 \111\114 \105\116 \119\111\110\'\116 \119\111\114\107\033")end p:Destroy()t:Destroy()d:Destroy()print("\084\114\097\110\115\102\101\114 \099\111\109\112\108\101\116\101\033 \058\041")else error("\067\104\101\099\107 \105\102 \121\111\117 \115\112\101\108\116 \116\104\101 \107\105\116\'\115 \110\097\109\101 \119\114\111\110\103\033")end
--[[
	Thank you for using Zednov's Tycoon Kit!
	This kit has countless options for you to choose from, fear not I have listed them all below
	-Dev Product buttons are here! Require players to purchase a dev product to get the dropper/upgrader/etc.
	-Gamepass buttons are here! Require players to own a gamepass to get a dropper/upgrader/etc.
	-Everything berezaa's  Tyccon kit has! No need to learn a whole new way to build tycoons!
	-Choose how your leaderboard looks! Choose how players play your tycoon!
	-Choose if players can steal other player's loot! (If you allow them to steal loot, add a precent they can steal and the time it takes to cooldown steal time)
	-Choose if there will be multiple currencies! Get creative!
	-We also provide a script which will take any valid tycoon you've built with berezaa's tycoon and transfer it over to be compatiable with ours!
	-We have sounds to give a more fun experience! Change your sounds to your liking!
	
	
	
	Please note that if the tycoon doesn't work, it's probably because you have made a typo in one of the purchase
	buttons or that you made a typo in the object being purchased so like you might've spelt Droper1 instead of Dropper1.
	Test out the tycoon every few buttons you make so you catch the mistake before advancing and having lots of buttons
	to look through.
	
	NOTE:
	If you plan to add devproducts in a game your using this kit in, you will need to edit the current script labeled "DevProductHandler"
	If you have two scripts that handle devproducts, both scripts will not work which is why you will need to merge with the provided one.
	All the settings are in the ModuleScript called 'Settings'
	We have provided a script below to change your berezaa built tycoon into the new improved Zednov Tycoon Kit :)
--]]

--CHANGE THE NAME, COPY ALL BELOW, AND PAST INTO COMMAND BAR

local TycoonName = "INSERT TYCOON NAME HERE"

if game.Workspace:FindFirstChild(TycoonName) then
	local s = nil
	local bTycoon = game.Workspace:FindFirstChild(TycoonName)
	local zTycoon = game.Workspace:FindFirstChild("Zednov's Tycoon Kit")
	local new_Collector = zTycoon['READ ME'].Script:Clone()
	local Gate = zTycoon.Tycoons:GetChildren()[1].Entrance['Touch to claim!'].GateControl:Clone()
	if zTycoon then
		for i,v in pairs(zTycoon.Tycoons:GetChildren()) do --Wipe current tycoon 'demo'
			if v then
				s = v.PurchaseHandler:Clone()
				v:Destroy()
			end
		end
		-- Now make it compatiable
		if s ~= nil then
			for i,v in pairs(bTycoon.Tycoons:GetChildren()) do
				local New_Tycoon = v:Clone()
				New_Tycoon:FindFirstChild('PurchaseHandler'):Destroy()
				s:Clone().Parent = New_Tycoon
				local Team_C = Instance.new('BrickColorValue',New_Tycoon)
				Team_C.Value = BrickColor.new(tostring(v.Name))
				Team_C.Name = "TeamColor"
				New_Tycoon.Name = v.TeamName.Value
				New_Tycoon.Cash.Name = "CurrencyToCollect"
				New_Tycoon.Parent = zTycoon.Tycoons
				New_Tycoon.TeamName:Destroy()
				v:Destroy()
				New_Tycoon.Essentials:FindFirstChild('Cash to collect: $0').NameUpdater:Destroy()
				local n = new_Collector:Clone()
				n.Parent = New_Tycoon.Essentials:FindFirstChild('Cash to collect: $0')
				n.Disabled = false
				New_Tycoon.Gate['Touch to claim ownership!'].GateControl:Destroy()
				local g = Gate:Clone()
				g.Parent = New_Tycoon.Gate['Touch to claim ownership!']
			end
		else
			error("Please don't tamper with script names or this won't work!")
		end
	else
		error("Please don't change the name of our tycoon kit or it won't work!")
	end
	bTycoon:Destroy()
	Gate:Destroy()
	new_Collector:Destroy()
	print('Transfer complete! :)')
else
	error("Check if you spelt the kit's name wrong!")
end