script.Parent.Upgrader.Touched:connect(function(z)if z:FindFirstChild("\067\097\115\104")then z.Cash.Value=z.Cash.Value*2 if meshUpgrade==true then for z,y in pairs(z:GetChildren())do if y:IsA("\083\112\101\099\105\097\108\077\101\115\104")then y:remove()end end local y=Instance.new("\083\112\101\099\105\097\108\077\101\115\104",z)y.MeshId=meshID y.TextureId=textureID end end end)


script.Parent.Upgrader.Touched:connect(function(Part)
	if Part:FindFirstChild("Cash") then
		Part.Cash.Value = Part.Cash.Value * 2 -- Try not to use * because if the game lags, parts may be worth millions each due to debounce
		if meshUpgrade == true then
			
			for i,v in pairs(Part:GetChildren())do
				if v:IsA("SpecialMesh") then
					v:remove()
				end
			end
		
			local m = Instance.new("SpecialMesh",Part)
			m.MeshId = meshID
			m.TextureId = textureID
		end
	end
end)
