Improve render luau scripts and other formatting
This commit is contained in:
parent
56ce21cb0c
commit
9aadd2520b
652
defs.d.lua
652
defs.d.lua
File diff suppressed because one or more lines are too long
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue