Is it possible to import toolbox models with a script?

So basically i always wanted my games to be moddable, and i thought a good idea would be allowing people to import stuff from the toolbox by writing the ID of that model in-game. Is that possible to do so? And if not do you think there is an alternative?

1 Like

just use loadasset and put the id of the model and boom bam bap badabat bum POW.

2 Likes

thanks! Also is it possible to disable specific parts of scripts so i can make sure people wont make a backdoor for hacking/importing malicious scripts?

Hi, I think you can disable scripts, it should be in the properties bar if I’m not mistaken.

Make a for loop iterating over model:GetDescendants() and checking if it IsA:(Script) then v:Destroy().

1 Like