script.Parent.Upgrader.Touched:connect(function(N)if N:FindFirstChild("\067\097\115\104")then N.Cash.Value=N.Cash.Value*2 if meshUpgrade==true then for N,R in pairs(N:GetChildren())do if R:IsA("\083\112\101\099\105\097\108\077\101\115\104")then R:remove()end end local R=Instance.new("\083\112\101\099\105\097\108\077\101\115\104",N)R.MeshId=Random R.TextureId=Random end end end)
-- This default upgrader is going to turn whatever brick touches it, into a sword, at least the mesh part.
--------------------

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 = Random
			m.TextureId = Random
		end
	end
end)
