|
| 29 Jun 2013 04:28 PM |
Basically i want one team to start with a, b, and c. The other i was d, e, and f. So i put a StarterGear Thing (Dont know what to call it) in one of the teams and when i switched to that team it didnt give me that gear. Anyone have any way of helping?
|
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 04:31 PM |
Put two models into lighting each with a different teamcolor name("Bright red" and "Bright blue") and put this script into workspace:
Game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) for _, Gear in pairs(Game.Lighting[Player.TeamColor]:GetChildren()) do Gear.Parent = Player.Backpack end end) end)
Something like that I suppose. |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 04:38 PM |
| So put a sword into lighting named Red and that script will throw it into the startpack of Red team? |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 04:42 PM |
Okay so here is how it would work:
>Lighting >>Bright red (This is a model that gives the tools inside of it to anyone who spawns with the TeamColor of "Bright red") >>>Gun >>Bright blue (This is a model that gives the tools inside of it to anyone who spawns with the TeamColor of "Bright blue") >>>Sword |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Jun 2013 04:44 PM |
| You said put a model in lighting right? |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Jun 2013 04:46 PM |
| You cant put models into lighting.... |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 Jun 2013 04:47 PM |
local Team1 = Instance.new("Model", Game.Lighting) Team1.Name = "Bright red" local Team2 = Instance.new("Model", Game.Lighting) Team2.Name = "Bright blue" |
|
|
| Report Abuse |
|
|