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

Creating a place [Universe]?

I'm trying to create a place within a game universe and teleport the player from my server into that "new place".

I know I need to do something with CreatePlaceAsync and teleporting but the new Wiki layout is a little confusing.

?

4 answers

✓ Accepted answer

Universes have been out for a while. digitalzer3 already did the teleport, but he didn't put the create places script in the answer, so I'm going to put that in.

Do not copy the dots, those will cause error. This part of the code is from a wiki article on CreatePlace and SavePlace.

...
newPlaceId = game:GetService(“AssetService”):CreatePlaceAsync('Building zone for ' .. playerIdentity, 92697995) -- The first argument is the name of the place, the second is the template place id.
...

If I helped please put me as an answer and vote me up. Thank you for reading! Also sorry if anything is wrong, I'm a little tired. D:

On ROBLOX, go to Deveol > Games > (Choose an Actice place) > Configure > Places > Add Place

Once a place is added to the 'Games' list, of an Active place, then you Teleport to the added place(s).

Just use the Teleport Service from there on.

function onTouched(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        game:GetService("TeleportService"):Teleport(8473728, player) -- Place ID.
    end
end
 
script.Parent.Touched:connect(onTouched)

8 comments

0

I understand but I'm talking about creating places within "game universes".

0

Universes arent out yet.

0

They are I made one.

0

They have been out for a LONG time now.

0

lolno.

0

Mhm, yeah... The whole egg hunt was based "universe-based"

0

1 That was a teleporter.

0

Nvm just lets stop fighting.

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