Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to use createPlaceAsync? I'm getting ERROR 500.

Asked by 9 years ago

In the developer console, I'm getting error 500.


I get the error when I try to run this:

local getGame,service do
    service = game:getService('AssetService');
    function getGame(id)
        return service:createPlaceAsync('testing_asset', id);
    end;
end;

local id = getGame(179901945);
game:getService('TeleportService'):Teleport(id,game.Players:WaitForChild('KOTwarrior'));

I'm not sure what I'm doing wrong.

Other possibilities

  • Issue with AssetService.
  • idk any other reason.
0
Did you enable Create Place and Save Place APIs on the Configure page for your place? bobafett3544 198 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

Possibilities:

-You did not enable the correct APIs on the Configure page -On line 4, you need to specify a description

DO NOT DOWNVOTE, I AM RESEARCHING

Ad

Answer this question