SpaceSpud
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 753 |
|
|
| 12 Jun 2014 07:51 PM |
For running scripts in game
local tab={}; if game.Teams:FindFirstChild("Red") and game.Teams:FindFirstChild("Blue") then for _,v in pairs(game.Players:GetChildren()) do if v.Name==source then print("notthisguy") else table.insert(tab,math.random(#tab+1),v); end end end for i,v in pairs(tab) do if i%2==0 then v.TeamColor=game.Teams["Red"].TeamColor; else v.TeamColor=game.Teams["Blue"].TeamColor; end end |
|
|
| Report Abuse |
|