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" "text/json"
) )
end) end)
if not ok then if ok then
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
else
print("[" .. game.JobId .. "] Upload successful! Moving on...") print("[" .. game.JobId .. "] Upload successful! Moving on...")
break break
end end
print(
"["
.. game.JobId
.. "] An error occurred! ("
.. err
.. "). Uploading again..."
)
end end

View File

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