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 » Game Creation and Development » Scripters
Home Search
 

Re: Needing a max raider script made

Previous Thread :: Next Thread 
Raviz is not online. Raviz
Joined: 24 Oct 2011
Total Posts: 6882
01 May 2016 02:24 PM
I need a script so that only 11 people of the opposition team that is sand red can join the server.

Paying 100 R$.
Report Abuse
Raviz is not online. Raviz
Joined: 24 Oct 2011
Total Posts: 6882
01 May 2016 04:23 PM
Still need one.
Report Abuse
membra is not online. membra
Joined: 14 Oct 2008
Total Posts: 6313
01 May 2016 04:48 PM
ok fam i sent u a friend request.


Report Abuse
membra is not online. membra
Joined: 14 Oct 2008
Total Posts: 6313
01 May 2016 05:28 PM
tried to send u a friend request an hr ago, no reply. joined ur game and u still ignored it. waste of time.


Report Abuse
membra is not online. membra
Joined: 14 Oct 2008
Total Posts: 6313
01 May 2016 05:42 PM
just have it for free since you cant be bothered to check ur thread or friend requests and your clan war buddies dont wanna leave the server so i can join again. you also just locked the server so u can have a team talk with ur clannies so cheers for that. i also just joined ur clan because im an idiot an pressed the button so dont accept it cus ill just leave again. i was gonna charge u more to make it more advanced because isingroup() is stupid in a server script but whatever u probably got someone to script it for you already and couldnt be bothere d to update the thread like damn son i dont even know if it works but whtever

-- CONFIGURATION --
local enemyGroupID = 2785325 -- The ID of the opposing group.
local maxNumberOfRaiders = 0 -- The number of enemy raiders allowed within the server at one time.

-- INTERNAL (Don't modify this!) --
local players = game:GetService("Players")
local currentRaiders = {}

players.PlayerAdded:connect(function(player)
if player:IsInGroup(enemyGroupID) then
if (#currentRaiders >= maxNumberOfRaiders) then
player:Kick("There are too many raiders in the server already, sorry!")
else
table.insert(currentRaiders, player)
print(("A raider has joined. There are now %i raider(s) in the server."):format(#currentRaiders))
end
end
end)

players.PlayerRemoving:connect(function(player)
for i, v in pairs(currentRaiders) do
if (v == player) then
table.remove(currentRaiders, i)
print(("A raider has left. There are now %i raider(s) in the server."):format(#currentRaiders))
end
end
end)

i just realized u also denied my friend rquest pleas no.
no hard feelings fam im just annoyed that ive wasted an hr of my time trying to get hold of you and im about to smash something because litrlyy theres no way to contact you not even your messages OR in ur game like



Report Abuse
Raviz is not online. Raviz
Joined: 24 Oct 2011
Total Posts: 6882
01 May 2016 06:06 PM
Sorry man! Also, there's not a local enemy group. It's just for anyone.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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