Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to import a catalog item into your game with Lua?

Like if you wanted a gear or a package in your game, but you want Roblox's original version of that item and not a free model. Could someone give me a general explanation of how that would happen?

2 comments

0

Free models are the easiest way to do this. They are the exact same as the catalog item almost 100% of the time, unless the publisher has modified it. Getting it from a Free Model is not different than copying it out of your Player's Backpack, it's still the same item.

0

...Still, I wish I could just take ROBLOX's original version and put it in my game, knowing that it's absolutely guaranteed that it has not been toyed with.

1 answer

✓ Accepted answer

In fact, there is! Using the InsertService, and LoadAsset method, you can accomplish your goal. Example:

a = game:GetService("InsertService"):LoadAsset(259423003)
a.Parent = game.Workspace.Player.Character

The above will insert "Crimson Bed Head Hair", and put it into Player's Character.

1 comment

0

thankya shawny

This discussion is preserved as it was. New answers, comments, and votes are closed.