script.Parent.Head.Touched:connect(function(J)local s=game.Players:GetPlayerFromCharacter(J.Parent)if s~=nil then local p=game.ServerStorage.PlayerMoney:FindFirstChild(s.Name)if p~=nil then local Z=p:FindFirstChild("\079\119\110\115\084\121\099\111\111\110")if Z~=nil then if Z.Value==nil then if script.Parent.Parent.Parent.Owner.Value==nil then if J.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")then if J.Parent.Humanoid.Health>0 then script.Parent.Parent.Parent.Owner.Value=s Z.Value=script.Parent.Parent.Parent script.Parent.Name=s.Name.."\'\115 \084\121\099\111\111\110"script.Parent.Head.Transparency=.6 script.Parent.Head.CanCollide=false s.TeamColor=script.Parent.Parent.Parent.TeamColor.Value end end end end end end end end)
script.Parent.Head.Touched:connect(function(hit)
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if player ~= nil then
		local PlayerStats = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name)
		if PlayerStats ~= nil then
			local ownstycoon = PlayerStats:FindFirstChild("OwnsTycoon")
			if ownstycoon ~= nil then
				if ownstycoon.Value == nil then
					if script.Parent.Parent.Parent.Owner.Value == nil then
						if hit.Parent:FindFirstChild("Humanoid") then
							if hit.Parent.Humanoid.Health > 0 then
								script.Parent.Parent.Parent.Owner.Value = player
								ownstycoon.Value = script.Parent.Parent.Parent
								script.Parent.Name = player.Name.."'s Tycoon"
								script.Parent.Head.Transparency = 0.6
								script.Parent.Head.CanCollide = false
								player.TeamColor = script.Parent.Parent.Parent.TeamColor.Value
							end
						end
					end
				end
			end
		end
	end
end)