CreatePlaceAsync and SavePlaceAsync do not work - trying to recreate a personal server?

I am trying to recreate the Personal Servers that ROBLOX removed. I cannot get CreatePlaceAsync and SavePlaceAsync to work. SavePlaceAsync needs places created with CreatePlaceAsync because I tried to just enable the permissions but it also won’t save. Now I am trying to do it with CreatePlaceAsync but that also does not work because it does not show up in my inventory. I do not get it. Why???

It should work. Does it work for anyone else? It is pretty simple and straight forward code. Where did it all go wrong? Can someone help me? Here’s the code for reference:

local AssetService = game:GetService("AssetService")
local placeId = --REDACTED
local saveThePlaceLive = true

print("Creating place...please wait...")
task.wait(30)

local placeName = "Building Construction Zone Live Saves"
local templatePlaceId = --REDACTED
local description = "Building Construction Zone live saves are saved here."

local success, newPlaceId = pcall(function()
	local createdPlaceId = AssetService:CreatePlaceAsync(placeName, templatePlaceId, description)
	print(createdPlaceId)
	return createdPlaceId
end)

if success then
	print("New place created with ID: ", newPlaceId)
else
	print("Failed to create new place: ", newPlaceId)
end

--while (saveThePlaceLive) do
--	print("Save cycle initiated...")
--	task.wait(60)
--	local success, message = pcall(function()
--		AssetService:SavePlaceAsync(placeId)
--	end)

--	if success then
--		print("A live save of the place has been completed successfully.")
--	else
--		print("Failed to save a live copy of the place: " .. message)
--	end
--end

What went wrong here??? I have permissions “Allow place to be copied as a template using Create Place API” and “Allow place to be updated using Save Place API” enabled.

2 Likes

At the moment, I don’t think Roblox has added the places section into the create.roblox.com dashboard yet, because it use to exist in the old develop page.
Did you directly look at your inventory or on create.roblox.com? If you didn’t look at your actual inventory then I think it should be in there.
Also, just in case one day you can see them in your inventory again, make sure to store that new place id into a datastore in order for you to re join that created place at any time.

I go on there and I don’t see my place listed under experiences. What section are you talking about???

I also went here:

Yet I don’t see it listed!

Do you mind testing the code for me or something or the feature? It’s quite simple yet it is not executing right for me. Any other idea?

Does my code even work? It does print that it saves.

Just remembered something! If you go to create.roblox.com, and head to the experience page of the experience you are creating those places in, if you head to the places tab on the left side of your screen when your on the experience page, once you click it you can see all your places. Press Created Places, and you will see those created places.

1 Like

Hi, my computer broke so I was not able to reply. However, I can confirm that this solution works.

Now I’ve run into another problem where if I edit the created place, it won’t publish. Is this just a feature of ROBLOX where you can’t edit the created place and must edit the main place???

Would you know anything about that?

Thanks a lot by the way!!!

It’s a very good solution. I did not even know that section existed :blush:

1 Like

Hey, I’d like to place an update regarding this. After creating the place in my inventory, having a save script inside of that inventory place (I had the script inside before it was created into the inventory), and building inside of the inventory place: it actually saved!

So now I know that it works.

Thank you so much!!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.