How to use DataModel:Load properly in Studio?

I found out that the Client Side Console in Studio when the game is running, I can run this

game:Load("http://www.roblox.com/asset/?id=95206881")

Otherwise, the server side one can not run this.

But why?

This loads a template Baseplate - Roblox, but the thing is, if you stop the game, it’s gone. And copy pasting each of the instances one by one, might be not ideal, let’s assume it would be a different template with more stuff.

The other thing is, that the SpawnLocation is not there as well for some reason. I think it’s because it stopped loading the rest when it couldn’t put in the loaded Terrain.

So I was wondering how DataModel:Load is supposed to be used.

I don’t think you’re supposed to use it in the first place. Curiosity is one thing but it doesn’t really have any utility to the majority of developers. It’s only supposed to load a place file from an id but if it can’t be used in edit mode then it doesn’t have utility. You aren’t going to load an entire place during a test.

1 Like