No matter what place ID I put into my teleport script, it always errors saying that the place does not exist. I don’t know of anyone else having this issue right now. I have checked to make sure both places are active.
Can I see the code? And are places in same game?
Yea sure. I got this error this time.
https://gyazo.com/26fad9373b9f5f7b4457ff0d39d6f9f8
The place most certainly is active though? I am not sure what the deal is with that. I’m new to the forum so bare with me here but I’m not quite sure how to properly insert code.
local TeleportService = game:GetService("TeleportService")
local gameID = 4673648358
function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(gameID, player)
end
end
script.Parent.Touched:connect(onTouched)
Wait, why game id you mean place id? The one you get from game explorer right, are places in same game too?EDIT: In a game I made I had the same code here’s the link: https://gyazo.com/d8625f0973479069d93f01789541ab0c
If place is in another game or you are putting a game ID I don’t think it will work. Make sure game is published to everyone and not to only developers, I don’t think roblox recognize if teleporting player is a dev or a normal player.
I got the ID from right clicking on the place within the game universe and clicking “copy ID”
Is it published to everyone? If not try publish it, I think that if it’s not published to everyone you should try.
Is there a difference between publish and publish to everyone?
I just press Alt + P to publish my game. Also, I do believe that it is available to everyone as there is no message that pops up when I click to play the game. Maybe I should add that this is a group owned game?
Is the game public / available to everyone and not just friends?
Alright, go in configure game and make the game public, try that and then retry touch that part.
You could try substitute in a placeId from a popular game as they definitely exist, if they don’t work then this may be a bug
I tried a popular place ID and it still gave that error.
I’ve made sure that everything was public and it was already.
hmm…
give me an ID that you’ve used and ill try this in my own studio
It’s screaming that the place isn’t active but I’ve been on this platform since 2011 and I definitely know how to make my games active. I have no idea why this is still the error.
4673648358 is the ID of my target place within my universe.
This is the starting place ID: 4671226710
Have you ever tried this script or is this your first time teleporting players to another game? Maybe try it on another place you have.
This is the second place I’ve tried this in. Both were group places trying to teleport into a place within it’s universe. Both got the same error. I’m doing something wrong here but I can’t figure it out. This is the starter place.
I tried this with the Game ID you used and got a message saying the place was restricted.
I tried this with Jailbreak’s Game ID and it worked properly.
It’s something to do with your places. You said it was a group place, have you tried a place that is yours that isnt a group place? Otherwise it may be your place settings
Did you try to TP to the start place?
Studio has been buggy this week. Might start working next week. Your code ressembles to the developerhub so there are high chances studio is kinda glitchy.