Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I limit the number of players allowed in a certain region?

I'm new here and very new to LUA. Is there a certain way I can limit how many players can be inside a region? Would I have to use Region3? I am still trying to understand how to use LUA, so if you could break down the solution to this, it would be much appreciated! Thanks.

1 answer

FindPartsInRegion3 has an argument that allows you to limit how many baseparts can be found in a Region3. You can use that to limit the number of character's in a Region3. (R6 has 6 parts while R15 has 15)

2 comments

0

This is incorrect: that argument only limits the number of things returned to you; it doesn't impact anything else.

0

So is there any other way I could make this work? If not is there any alternatives?

This discussion is preserved as it was. New answers, comments, and votes are closed.