I do not know if this is the right category. i do not know where else this would fit.
I need a private place inside my public game to easily test badges etc. How would i do this? It seems you can only make public places, but that makes me feel very unsafe + Accessing a place inside an experience doesn’t work as it just teleports you to the main experience.
is there a better way to do this?
Try adding a server script into ServerScriptService in the new place.
Make the contents this:
local Players = game:GetService("Players") -- Gets the players service.
local AllowedPlayers = {1, 2} -- Replace 1 and 2 with the UserID's you want to allow in the game.
Players.PlayerAdded:Connect(function(player) -- Once a player joins, connect a new function.
if not table.find(AllowedPlayers, player.UserId) then -- Checks if it's an unauthorized player.
player:Kick("You are not an authorized player!") -- Kicks them from the game.
end
end)
See how that does. ALSO keep the place very hidden for other players too.
However, they are right. You could also kick the player if simply their UserId is not the same as the creator’s (your) UserId, unless you really do want a whitelist.