Ok I’ve seen so many games where if you try to join someone there are in a restricted subplace but in my game anyone can join me and I can join anyone how would I make the place restricted?
1 Like
simply kick them on join
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name ~= "YOUR_NAME_HERE" then
plr:Kick("Not allowed")
end
end)
1 Like
Or just make the max player count to 1
that works too
1 Like
I think you must be referring to reserved servers
In the game in the Creator Dashboard, look in Audience → Access Settings.
Turning this on will allow all players to join the current place their friend is in.
Turning this off will disallow direct place-joining.
There is no access setting to prevent specific places from being restricted. All places will be affected if this setting is changed.
Edit as of 14/03/2024: Roblox now permits direct access for specific places instead of all places being affected. Learn more here.
Thank you this will help a lot in my game
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.