generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

Group only scripts?

Previous Thread :: Next Thread 
halogod5000 is not online. halogod5000
Joined: 08 May 2010
Total Posts: 7788
25 Oct 2014 04:48 PM
I need a script that only allows people from certain groups into maps. I looked all over free models but the one script I found that could do this breaks when you add another group to it.

Anyone got any like this?

-Signatures are too mainstream-
Report Abuse
Expleo is not online. Expleo
Joined: 24 Mar 2014
Total Posts: 5650
25 Oct 2014 04:49 PM
You would have had one if you listened in the TCC war, but you're too stubborn to negotiate.



Prime Vanguard- 12 days.
Report Abuse
bluefredy is not online. bluefredy
Joined: 23 Oct 2010
Total Posts: 59243
25 Oct 2014 04:50 PM
use a table

local banned_groups = {groupid, groupid, groupid}

and then just write your script in a table format
Report Abuse
Justin50003 is not online. Justin50003
Joined: 04 Jul 2010
Total Posts: 27043
25 Oct 2014 04:51 PM
cant you just add another team for the random dudes and have their spawn in some box

chicken nuggets
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
25 Oct 2014 04:51 PM
local groups = {123123, 123456}

game.Players.PlayerAdded:connect(function(player)
for i, groupId in pairs(groups) do
if not player:IsInGroup(groupId) then
player:Kick()
end
end
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image