Apparently, when I use this for auto-updating module, you would get an error message HTTP 0 (Request Failed)
. I put the asset id correctly, however, it doesn’t work and wouldn’t return the asset version id. What’s the issue?
while wait(1) do
if InsertServ:GetLatestAssetVersionAsync(***) ~= knownVersion then
ServerProtected = nil
userApprove = nil
script.UpdateModule:Fire()
return
end
end