|
| 02 Jul 2012 01:44 PM |
I am working on an auto assign script for my main ground and it's allies, but it's not working for either teams, can someone please help?
--Refer to the Instructions document for information on how to set up this script
ally=true -- Set to false if you don't have an ally team TLE=true -- Set to false if you don't have a TLE team
if TLE then if not game.Teams:FindFirstChild("The Lycan Empire") then assert(false,"There is no The Lycan Empire Team!") end end
if ally then if not game.Teams:FindFirstChild("Allies") then assert(false,"There is no Allies team!") end end
game.Players.PlayerAdded:connect(function(plr) if TLE==true and plr:IsInGroup(466957) then plr.TeamColor=BrickColor.new("Dark stone grey") -- Set your TeamColor plr.Character.Humanoid.Health=100 elseif (ally==true) and (plr:IsInGroup(165491) or plr:IsInGroup(14638) or plr:IsInGroup(333575) plr:IsInGroup(251987) or plr:IsInGroup(10248) or plr:IsInGroup(342119) plr:IsInGroup(513689) or plr:IsInGroup(260009) or plr:IsInGroup(187343) plr:IsInGroup(503450) or plr:IsInGroup(447301) or plr:IsInGroup(626321) or plr:IsInGroup(608686) or plr:IsInGroup(85654) or plr:IsInGroup(622380) or plr:IsInGroup(106362) or plr:IsInGroup(584017) or plr:IsInGroup(207103) or plr:IsInGroup(619518) or plr:IsInGroup(32818) or plr:IsInGroup(290188) or plr:IsInGroup(4971) or plr:IsInGroup(171235)) then plr.TeamColor=BrickColor.new("Bright green") -- Set your Ally Team's TeamColor end end)
|
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 02 Jul 2012 01:45 PM |
| I think it's not working because there is an error in it... |
|
|
| Report Abuse |
|
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 02 Jul 2012 01:45 PM |
#1 - Use tables. That's ugly.
#2 - Go to scripting HELPers. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2012 01:47 PM |
| 1- script helpers is a dead forum |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 02 Jul 2012 01:49 PM |
> script helpers is a dead forum
And you think this is more active?
|
|
|
| Report Abuse |
|
|
|
| 02 Jul 2012 01:55 PM |
| It appears to be that way, yes. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2012 01:56 PM |
This isn't a help forum. Why don't you go ask your clannies for help?
/floodcheck /floodcheck |
|
|
| Report Abuse |
|
|
Loudacity
|
  |
| Joined: 20 Jun 2011 |
| Total Posts: 26726 |
|
| |
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
| |
|
Loudacity
|
  |
| Joined: 20 Jun 2011 |
| Total Posts: 26726 |
|
| |
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
| |
|
Loudacity
|
  |
| Joined: 20 Jun 2011 |
| Total Posts: 26726 |
|
|
| 02 Jul 2012 02:49 PM |
I AM EVERTHING
THAT MEANS I HATE MYSELF
WHO'S MYSELF?
ME!
WHO'S ME?
<---
WHO'S <---?
I AM |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 02 Jul 2012 02:57 PM |
@Loudacity who's /inserteverythingyoujustsaid |
|
|
| Report Abuse |
|
|
Loudacity
|
  |
| Joined: 20 Jun 2011 |
| Total Posts: 26726 |
|
| |
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
| |
|