#Enter a new world

70 messages · Page 1 of 1 (latest)

vague notch
#

teleportService:TeleportAsync(placeId, {player})

#

go into game settings, security and turn on third party teleports

#

and the game needs to be public as well

#

wdym

#

just go to the original game with the clocks

#

and do what i told u to do with the game settings

#

alright first show me the explorer

fallen peakBOT
#

studio** You are now Level 7! **studio

#

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

vague notch
#

yk

#

when i said explorer

#

i meant- nvm

#

ill just show you how to do it

#

lemme test it first in my game

#

alright

#

i figured it out, i just want to test it with you

#

go into here

#

@proven scroll

#

i want to see if its going to tp us both or just one player

#

nice

#

alright so what you want to do is define the teleport service

#

the place id

#

and then connect it to a function that uses teleport service

#

to teleport the player

#

so it would go something like

#
local CLICK_DETECTOR = script.Parent
local TELEPORT_SERVICE = game:GetService("TeleportService")

local PLACE_ID = 13285088061

CLICK_DETECTOR.MouseClick:Connect(function(playerWhoClicked)
    TELEPORT_SERVICE:TeleportAsync(PLACE_ID, {playerWhoClicked})
end)
#

i used a click detector on the part

#

if youre using a .Touched

#

you can just do

#

part.Touched:connect(function(otherpart) and the rest is the same

#

well for example

#

tell me first wahts

#

teleporting a player

#

clicking on a part in workspace

#

or touching a part

#

you have a click detector yes?

#

alright so

#

add a script inside the click detector

#

and just copy and paste what i sent u

#

yea

#

roblox

#

you need to make that server public

#

or you can

#

teleportotprivateserver()

fallen peakBOT
#

studio** You are now Level 2! **studio

vague notch
#

the place id

#

bruh

#

you can think cant you

#

do the same thing

#

just "teleporttoprivateserver"

#

or something like that

#

youll find it

#

always scroll through functions

#

like when you do Teleport_Service:

#

things are going to pop up

#

scroll through them

#

and read what they do

#

helps a ton

#

put what

#

just replace it

vague notch
#

bro

#

i give up

#

its the same

#

just instead of teleportasync()

#

put

#

teleporttoprivateserver()

#

lmfao