of     1   

Nirys
#195756833Tuesday, August 09, 2016 6:34 PM GMT

raider cap script? Need one.
Nirys
#195757099Tuesday, August 09, 2016 6:37 PM GMT

b
Veloric
#195757260Tuesday, August 09, 2016 6:39 PM GMT

depends do you have an intro gui or auto teaming?
Nirys
#195758172Tuesday, August 09, 2016 6:51 PM GMT

@velo I have it auto-team the defenders
Veloric
#195758408Tuesday, August 09, 2016 6:55 PM GMT

okay so local numraiders = 0 game.Players.PlayerAdded:connect(function(plr) if not plr:IsInGroup(id) and numraiders ~= RAIDERCAP then plr.TeamColor = game.Teams.Raiders.TeamColor numraiders = numraiders + 1 elseif not plr:IsInGroup(id) and numraiders == RAIDERCAP then plr:Kick("Raider cap has been reached. Try again later!") end end) /Vel/
IWNL
#195758774Tuesday, August 09, 2016 7:00 PM GMT

or u just can crash the new raider if u have the intro gui lol #1
Nirys
#195758804Tuesday, August 09, 2016 7:01 PM GMT

thanks i just make that a script right and we're good?
Frostarkz
#195758815Tuesday, August 09, 2016 7:01 PM GMT

i want a screen that keeps moving from slide to slide if ya know wat i mean for a training centre so like slide 1 : rules slide 2: etc slide 3 : etc repeat
Nirys
#195758875Tuesday, August 09, 2016 7:02 PM GMT

wait, does it remove one if someone leaves tho?
Beakil
#195758968Tuesday, August 09, 2016 7:03 PM GMT

bro thats edgy i aint raiding u wi raider limits my god Hail Killicide || Rip Armadyne 2k15 || Warsaw 2k16 || Zanziber Left Us ||
Veloric
#195761651Tuesday, August 09, 2016 7:37 PM GMT

local numraiders = 0 game.Players.PlayerAdded:connect(function(plr) if not plr:IsInGroup(id) and numraiders ~= RAIDERCAP then plr.TeamColor = game.Teams.Raiders.TeamColor numraiders = numraiders + 1 elseif not plr:IsInGroup(id) and numraiders == RAIDERCAP then plr:Kick("Raider cap has been reached. Try again later!") end end) game.Players.PlayerRemoving:connect(function(plr) -- that could also be playerleaving, i don't know for sure. if plr.TeamColor === game.Teams.Raiders.TeamColor then numraiders = numraiders - 1 end end) /Vel/
Nirys
#195764925Tuesday, August 09, 2016 8:15 PM GMT

@velor I added a defender cap would it work? local numraiders = 0 game.Players.PlayerAdded:connect(function(plr) if not plr:IsInGroup(2896442) and numraiders ~= 15 then plr.TeamColor = game.Teams.Raiders.TeamColor numraiders = numraiders + 1 print('A raider has joined!') elseif not plr:IsInGroup(2896442) and numraiders == 15 then plr:Kick("Raider cap has been reached. Try again later!") end end) game.Players.PlayerRemoving:connect(function(plr) if plr.TeamColor == game.Teams.Raiders.TeamColor then numraiders = numraiders - 1 print('A raider has left!') end end) local numdefenders = 0 game.Players.PlayerAdded:connect(function(plr) if plr:IsInGroup(2896442) and numdefenders ~= 15 then plr.TeamColor = game.Teams.Aixon.TeamColor numdefenders = numdefenders + 1 print('A defender has joined.') elseif plr:IsInGroup(2896442) and numraiders == 15 then plr:Kick("Defender cap reached. Try again later.") end end) game.Players.PlayerRemoving:connect(function(plr) if plr.TeamColor == game.Teams.Aixon.TeamColor then numdefenders = numdefenders - 1 print('A defender has left.') end end)

    of     1