The teleport system never work, although the scripts are almost same as those in the manual

Hello fellow developers!
I am a novice developer but have developed several games so far for last 6 months.

Currently I am developing an online international school:
GE International School

In this game, I want to let players teleport to other games.
As shown in the following picture, I set a window as a teleport part.

Following the online manual (Teleporting Between Places), I made the teleport system in exactly same way.

I wrote a script parented to the teleport part and a module script in ReplicatedStorage.
The scripts are as follows:

As you can see, only Place ID is different and the linked game is here:

Math Obby & Playgrounds

You can see Place ID is correct.

Also, I have published these games already.

And so I don’t know why the the system never work.
I will appreciate if someone help me.
Thank you in advance.

Play on the Roblox client, not Studio.

1 Like

Yes, I played but it didn’t work. Could you play too to check if it work or not? The teleportPart is on G2 building, which is close to the initial spawn point.

Well when you click the teleport part in-game and after you wait a few seconds, what comes up in the console?

Did u play it in studio or published da game and played it?

He has published the game, and said he tried in-game

1 Like

I have just gone to the game again and clicked the part to wait for a few seconds.
But nothing happened.

I also touched the window many times but nothing happens.

So there is nothing in the console?

Also, have you made sure to allow Studio to TP to other places in the game settings under security?

1 Like

Also make sure you wait 10 seconds after touching it as that’s the time you set

1 Like

Remote event is being called multiple times.
Try adding a FindFirstChild(“Humanoid”) to an if statement.

1 Like

I just waited for more than 10 seconds but nothing happened.

Okay and can I see the in-game console ??
And have you given studio permission to actually teleport?

1 Like

What do u mean, console?
I play on my laptop and the whole screen is the game screen and no messages are shown.

Type /console in chat then either on server or client you might have an error

1 Like

For the security, I will go to check now. Pls wait for a moment.

When I checked the console, I got quite a lot of errors about RemoteEvent queue exhaustion. Add some additional checks.

1 Like

Thank you for the info on console.
I tried and the following screen was shown.

So it isn’t working because studio doesn’t have access to teleport. Go to the settings in studio and go to security and enable it

1 Like

It says ‘Can not teleport to place created by third party with teleport protections enabled on this universe’, so you most likely need to go to game settings and turn on/enable third party teleports.
Note: It’s in security

1 Like

Also if your trying to make a game such as an entire school you should get a developer who can actually script or learn yourself.

1 Like