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"
|
||||
)
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue