pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
|
| 17 Jul 2014 10:16 AM |
if Humanoid.Team("Land Fighters") then script.Parent:FindFirstChild("StarterPack") wait(1) game.StarterPack:FindFirstChild("Plane") game.StarterPack:FindFirstChild("Boat") wait(1) game.StarterPack.Plane = nil game.StarterPack.Boat = nil end
if Humanoid.Team("Air Fighters") then script.Parent:FindFirstChild("StarterPack") wait(1) game.StarterPack:FindFirstChild("Motorcycle2") game.StarterPack:FindFirstChild("Boat") wait(1) game.StarterPack.Motorcycle2 = nil game.StarterPack.Boat = nil end
if Humanoid.Team("Water Fighters") then script.Parent:FindFirstChild("StarterPack") wait(1) game.StarterPack:FindFirstChild("Motorcycle2") game.StarterPack:FindFirstChild("Plane") wait(1) game.StarterPack.Motorcycle2 = nil game.StarterPack.Plane = nil end |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 10:20 AM |
does it not work? where is the script? |
|
|
| Report Abuse |
|
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
|
| 17 Jul 2014 10:21 AM |
i didn't test it out i'm asking if my script is correct, I want teams to have different gear. |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
| |
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
|
| 17 Jul 2014 10:25 AM |
| Listen up, I am a beginner scripter and I need your help. |
|
|
| Report Abuse |
|
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
|
| 17 Jul 2014 10:26 AM |
| Okay. Changed Humanoid to Players. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 10:27 AM |
You could use something such as, DefinedTeam = game.Teams.TeamNameHere if DefinedPlayer.TeamColor == DefinedTeam.TeamColor then --More Code Here end
--TeamColor is a property of the "Player" table. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 10:34 AM |
| *--Property of the Player's within the Player's table rather. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2014 10:38 AM |
You can also get do Players.Player1(or a LocalPlayer).TeamColor
Team is not a valid property of Humanoid though :/ |
|
|
| Report Abuse |
|
|
D3vel0per
|
  |
| Joined: 16 Feb 2010 |
| Total Posts: 5078 |
|
|
| 17 Jul 2014 10:57 AM |
Don't ask if scripts are correct, test them yourself and then if it is not working, post it here and ask whats wrong with it.
~Internet.ROBLOX.D3vel0per.Awesome = true~ |
|
|
| Report Abuse |
|
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
| |
|
DrFeynman
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 178 |
|
|
| 17 Jul 2014 11:13 AM |
| GTFO you six year old prick, what your doing is a waste of your time as well as ours. Nobody know if your script is correct, that's not getting help, that's a low key bragging, what you do is test, give us errors and feedback, and we help you from there. Not only that but you can't just say "I do what I want, do you realize how stupid and contradictory that is? I mean really your asking for help and as soon as somebody even tries to help you; you throw back a "I do what I want". That is the equivalent to going to a grocery store to sell produce and getting defensive for telling you can't do that, c'mon man think before you act... |
|
|
| Report Abuse |
|
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
| |
|
pideras
|
  |
| Joined: 09 Jun 2014 |
| Total Posts: 315 |
|
|
| 17 Jul 2014 11:18 AM |
"six year old"
everyone was 6 ._. |
|
|
| Report Abuse |
|
|
arw14
|
  |
| Joined: 22 May 2008 |
| Total Posts: 3002 |
|
| |
|
DrFeynman
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 178 |
|
|
| 17 Jul 2014 11:21 AM |
| Not only that,ute that script is an abomination, you could easily recreate the same effect as that with a function, a few parameters, and a player added call, 1/3 the lines and way more efficient. |
|
|
| Report Abuse |
|
|