I'm currently making a game that makes you join a game on my group which has buttons like "play," "updates," and what not. But I wanted to make the actual game (the one you teleport to when you press play) hidden (kinda like in camping). But when I did, It wouldn't teleport me to the "hidden" game. I checked the game id's and they were correct. I did a lot of research and nothing answered what I was asking. Is there some sort of special script I should use? The actual game is on my profile and not on the group so is that the problem? And if I did make the game hidden incorrectly, how do you do it? This is the LocalScript inside the play button:
script.Parent.MouseButton1Click:connect(function()
game:GetService("TeleportService"):Teleport("7110940410")
end)

2 comments
Before I moved the main game to my profile, it was on my group as well. When it was on my group, the script that I posted worked. But after I moved the game to my profile, it doesn't work anymore.
Does the game get a new id when moved from your group to your profile?