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

Help me? - TeleportService/AssetService related

http://prntscr.com/ailv1w

Whenever I try to :CreatePlaceAsync(), it gives me that error message (Game:CreatePlace received and error: HTTP 403 (HTTP/1.1 403 Forbidden).

What am I doing wrong?

3 comments

0

Do you own the place you are trying to clone? Having your code would help a lot to figure out exactly what is going wrong.

0

You can't use CreatePlaceAsync() in studio. You'll have to play online.

0

Posted the code down there for you guys

1 answer

The script is a normal script, not a local script or anything. It is in a TextButton, too. Alright, here's your code:

function onClick()
	game:GetService("AssetService"):CreatePlaceAsync("TurismoBasics", 124352923)
    game:GetService("TeleportService"):Teleport(124352923, game.Players.LocalPlayer)
end
script.Parent.MouseButton1Click:connect(onClick)

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