Improve render luau scripts and other formatting

This commit is contained in:
Lewin Kelly 2023-10-29 10:31:29 +00:00
parent 56ce21cb0c
commit 9aadd2520b
3 changed files with 26 additions and 665 deletions

File diff suppressed because one or more lines are too long

View File

@ -71,16 +71,15 @@ while true do
"text/json"
)
end)
if not ok then
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
else
if ok then
print("[" .. game.JobId .. "] Upload successful! Moving on...")
break
end
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
end

View File

@ -15,13 +15,14 @@ local ScriptContext = game:GetService "ScriptContext"
pcall(function()
ContentProvider:SetBaseUrl(baseUrl)
InsertService:SetAssetUrl(baseUrl .. "/asset/assetfetch?id=%d")
InsertService:SetAssetVersionUrl(baseUrl .. "/asset/assetfetch?assetversionid=%d")
InsertService:SetAssetVersionUrl(
baseUrl .. "/asset/assetfetch?assetversionid=%d"
)
end)
HttpService.HttpEnabled = true
ScriptContext.ScriptsDisabled = true
print(
"["
.. game.JobId
@ -72,16 +73,15 @@ while true do
"text/json"
)
end)
if not ok then
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
else
if ok then
print("[" .. game.JobId .. "] Upload successful! Moving on...")
break
end
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
end