local function assetLoaded(asset)
loadedAssets += 1
label1.Text = "loading ["..loadedAssets.."/"..assetsToLoad.."]"
end
for i = 1, assetsToLoad do
if GeneralValues.GameLoaded.Value then break end
local asset = gameAssets[i]
ContentProvider:PreloadAsync({asset}, assetLoaded)
end
For some reason it freezes
help