#"private emplacement joining script

1 messages · Page 1 of 1 (latest)

lethal compass
#

I would like to create a script like dusty road trip or spongebob sim it make you join a different emplacement but in a serveur where no one else can join

modern gull
#

emplacement?

jolly harness
modern gull
#

ohhhh

jolly harness
#

I think that's what he's saying

modern gull
#

yea

#

i honestly dont know then

lethal compass
#

hum

#

emplacement like a other game in the first one

modern gull
#

yea I understand now, btw its called a place

lethal compass
#

mybad

modern gull
#

all good

#

lemme look into it

lethal compass
#

ok thanks

lethal compass
#

ok thanks

tawdry tokenBOT
#

studio** You are now Level 1! **studio

modern gull
#

here was one of the examples

local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")

local code = TeleportService:ReserveServer(game.PlaceId)

local players = Players:GetPlayers()

TeleportService:TeleportToPrivateServer(game.PlaceId, code, players)
-- You could add extra arguments to this function: spawnName, teleportData and customLoadingScreen
#

so you can create a seprate place in the experience called "game"

#

then the default one being "lobby" for example

lethal compass
#

ok i will try this

modern gull
#

alright, ping me if you got it working or not

lethal compass
#

ok

modern gull
#

did you figure it out?

lethal compass
#

i got a error i will show you

#

i think i missed somthing

jolly harness
lethal compass
#

oh

modern gull
#

yea

#

does it work now?

lethal compass
#

nah

modern gull
#

your typing it wrong

jolly harness
#

no 😭

modern gull
#

dont do game.numbersyayayaa

#

or whatever the number

#

just use the number like it said

#

also remove the parenthesis after 635

#

because thats another error

lethal compass
#

i dont understand: just use the number like it said

modern gull
#

just put the place id

#

it says in the documentation

lethal compass
#

ok

modern gull
#

how much scripting experience do you have?

lethal compass
#

a bit

#

i use pretty basic script

modern gull
#

nice

#

did it work now?

lethal compass
#

yup

modern gull
#

nice, mark this post as solved