I wanted to know if there is a way that I can make a script take an object from the roblox library or my published models by its ID and export it into the game's workspace.
You can do this through the Insert Service and LoadAsset
An example would be
local InsertService = game:GetService("InsertService") local asset = 228040778 --A piece of ROBUX, can be anything in your inventory or you can set it to enable Free Models. local model = InsertService:LoadAsset(asset) model.Parent = workspace