Teleportation Problem

Hello, I’m XXgamerisaliveXx, and I’m trying to create a Friend Join GUI, but when I click on Teleport it gives an error:

And here’s the code:

probably its because its a private server that he is in, try the other games maybe it would work

I clicked on every game, didn’t work. I checked that my friends are not in a private server.

they are probably in a sub place if that’s the case then

you can’t teleport yourself into another game’s sub place

I don’t really know what sub place is. Can you please explain?

its just a game inside the MAIN GAME you can’t do that only the MAIN GAME who owns the sub place can do that

Any solution for that? I think so

nope no solution you just gotta deal with it

unless they are playing the MAIN GAME

It’s weird cause from the list in the picture tycoons usually don’t use sub games, hmm i don’t know what causes it, is it roblox not allowing you to join through it or is it the devs that turned off ability to join through other games

I don’t know, I just started learning lua in may.

if they were in a sub game, you wouldn’t be able to join them through roblox friends list online

Off topic, What is string.sub used for?

Im not into strings really but heres from docs

Returns the substring of s that starts at i and continues until j; i and j can be negative. If j is absent, then it is assumed to be equal to -1 (which is the same as the string length).

On the server settings, do you have the setting “Allow Third Party Teleports” on?

1 Like

Maybe the targeted games don’t have that as it’s third party

Yeah, Allow Third-Party Teleports are enabled.

Was the person you was trying to join in a private or anything unauthorised?

it says (3rd party teleports) “However, teleports between places in this game and between games owned by the same creator will be permited”

So sorry bud, your game doesn’t work (it’s not your script, its roblox and their security)

I’ma try with an alt account. Let’s see if it works

Alright.

(30 Charactersssssss)