im2awsm
|
  |
| Joined: 25 Aug 2010 |
| Total Posts: 2295 |
|
|
| 27 Sep 2011 11:07 PM |
Here is my script:
while true do if game.Players.NumPlayers < 1 then --Checks if there are 2 players wait(0.1) else wait(5) kiddies = game.Players:GetChildren() for i = 1,#kiddies do kiddies[i].TeamColor = Bright green --Changes everyones team then kills them kiddies[i].Character.Humanoid.Health = 0 wait(1) p=game.Players:GetChildren() for i = 1,#p do Instance.new("BoolValue",p[i]).Name = "IsTroll" --The Troll is a team.. dont see how this would work.. i had help from someone else.. wait(0.1) end end end end
This script is very confusing, and has been frustrating me over the last few days with all its errors and stuff.. this came from the output: Workspace.Script:9: '=' expected near 'kiddies'
I have NO clue what this means.. |
|
|
| Report Abuse |
|
|
Jagger19
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 1877 |
|
|
| 27 Sep 2011 11:10 PM |
| Though I'm not the best at scripting, why are there 2 ".." after the last else? |
|
|
| Report Abuse |
|
|
| |
|
im2awsm
|
  |
| Joined: 25 Aug 2010 |
| Total Posts: 2295 |
|
| |
|
|
| 27 Sep 2011 11:36 PM |
kiddies[i].TeamColor = Bright green --Changes everyones team then kills them
kiddies[i].TeamColor = Bright green -- Should be:
kiddies[i].TeamColor = BrickColor.new("Bright green") |
|
|
| Report Abuse |
|
|