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)
I never used teleportservice before but I dont think local scripts is suppose to be parented to the button. Try using a server script. A local scripts should be parented to a decendant or a children of the player instance as it changes things on the client side.