You can write your topic however you want, but you need to answer these questions:
-
Trying to use game:GetObjects to insert free models into my game. Keep it simple and clear!
-
SerializerPugi::deserializeImpl no version number. I get this error, I have no idea what it means. Include screenshots / videos if possible!
-
Tried changing code to something else, didn’t work. Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local toolbar = plugin:CreateToolbar("Free Model Adder")
local newScriptButton = toolbar:CreateButton("Adds 200 pages of free models to your game.", "Your not gonna like this.", "rbxassetid://4458901886")
newScriptButton.Click:Connect(function()
local InsertService = game:GetService("InsertService")
local ChangeHistoryService = game:GetService("ChangeHistoryService")
for i = 1, 200 do
local page = unpack(InsertService:GetFreeModels("", i))
for i2 = 1,page.TotalCount do
local item = page.Results[i2]
print("Item #"..i2)
for i,v in pairs(item) do
print(" " .. i .. ":" .. v)
local objects = game:GetObjects("rbxassetid://"..item.AssetId)
objects[1].Parent = workspace
ChangeHistoryService:SetWaypoint("Added asset.")
end
wait()
end
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.