Hey,
I am trying to create an instance of my place and teleport the player to that instance. I cannot do this because I get an error on the 7th line and the error only states that the template place cannot be created. Below is the place layout as well as the script and the output. I am trying to use create place async on the “test World” place and I am trying to teleport them from the start place.
This is the entire server script:
local as = game:GetService("AssetService")
local ts = game:GetService("TeleportService")
local re = game.ReplicatedStorage.REs:FindFirstChild("WorldTeleports")
re.OnServerEvent:Connect(function(plr, id)
print(id)
local NewPlaceId = as:CreatePlaceAsync("test World", id)
ts:TeleportToPlaceInstance(id, NewPlaceId, plr)
end)
This is the error:
I’ve tried a few things and I’ve searched all over to find a solution but none of them seem to work. This is why I have come to the forums to hopefully get an answer.