add gs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- Gear v1.0.2
|
||||
|
||||
assetUrl, fileExtension, x, y, baseUrl = ...
|
||||
|
||||
pcall(function() game:GetService("ContentProvider"):SetBaseUrl(baseUrl) end)
|
||||
game:GetService("ScriptContext").ScriptsDisabled = true
|
||||
|
||||
for _, object in pairs(game:GetObjects(assetUrl)) do
|
||||
object.Parent = workspace
|
||||
end
|
||||
|
||||
local ThumbnailGenerator = game:GetService("ThumbnailGenerator")
|
||||
if string.lower(fileExtension) == "obj" then
|
||||
return ThumbnailGenerator:Click(fileExtension, x, y, --[[hideSky = ]] true, --[[crop =]] true)
|
||||
end
|
||||
|
||||
return ThumbnailGenerator:Click(fileExtension, x, y, --[[hideSky = ]] true, --[[crop =]] true)
|
||||
Reference in New Issue
Block a user