menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Teams getting weapons
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Teams getting weapons
loganv450505
Join Date: 2015-08-11
Post Count: 196
#183521129
Saturday, February 13, 2016 6:57 PM GMT
how do I make it so that like 1 team gets swords and the other team has like guns? Pls reply with the How-to and script
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
pinballboy7
Join Date: 2009-03-12
Post Count: 1485
#183521187
Saturday, February 13, 2016 6:58 PM GMT
http://wiki.roblox.com/index.php?title=Intro_to_Scripting
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
HarrySnotte
Join Date: 2011-06-27
Post Count: 2854
#183521276
Saturday, February 13, 2016 6:59 PM GMT
You can use a for loop to go through all the players and then use an if statement to detect in which team they are: for i,v in ipairs(game.Players:GetChildren()) do if v.TeamColor.Name = "TeamColorHere" then --clone the weapon into his backpack
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
loganv450505
Join Date: 2015-08-11
Post Count: 196
#183606213
Sunday, February 14, 2016 7:22 PM GMT
@pinball where do I find it?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right