local T={}function T.PreloadAsync(Z,T,N)local E=game:GetService("\067\111\110\116\101\110\116\080\114\111\118\105\100\101\114")if N=="\084\101\120\116\117\114\101"then E:PreloadAsync({"\114\098\120\097\115\115\101\116\105\100\058\047\047"..T})elseif N=="\083\111\117\110\100"or N=="\065\117\100\105\111"then local N=Instance.new("\083\111\117\110\100")N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..T E:PreloadAsync({N})N:Destroy()elseif N=="\077\101\115\104"then local N=Instance.new("\083\112\101\099\105\097\108\077\101\115\104")N.MeshId=T E:PreloadAsync({N})N:Destroy()end end return T
local AssetUtils={}

function AssetUtils:PreloadAsync(Asset,Type)
	local ContentProvider=game:GetService("ContentProvider")

	if Type=="Texture" then
		ContentProvider:PreloadAsync({"rbxassetid://"..Asset})
	elseif Type=="Sound" or Type=="Audio" then
		local Audio=Instance.new('Sound')
		Audio.SoundId="rbxassetid://"..Asset
		ContentProvider:PreloadAsync({Audio})
		Audio:Destroy()
	elseif Type=="Mesh" then
		local Mesh=Instance.new('SpecialMesh')
		Mesh.MeshId=Asset
		ContentProvider:PreloadAsync({Mesh})
		Mesh:Destroy()
	end
end

return AssetUtils