robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 24 Jul 2012 10:38 PM |
Well then. Would this work, and is this how you're supposed to do this? ------------------- p = game.Players.GetPlayers() if p.isH|tman = true then lbfkvbkdfgkdf ------------------- I'm just wondering, is that how you can check all the players to see if one of them is enabled, then if it is it does what I please. Would that work? |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 10:40 PM |
for i,Player in next, game:service("Players"):GetPlayers() do if Player.isH|tman == true then --Wutever here end end |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 10:43 PM |
| When making a if statement, you have to have two = signs |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 24 Jul 2012 10:59 PM |
| @Bobby, says the guy who put 'a' before 'if'. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 24 Jul 2012 11:41 PM |
@Spleen Output: Workspace.tehchooser:2: 'then' expected near '|' Edited script: for i,Player in next, game:service("Players"):GetPlayers() do if Player.isH|tman == true then print("Script is working succesfully. Good job!") end end ----------------------------------------------------------- -=Robo=- |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 24 Jul 2012 11:47 PM |
Strings in Roblox objects cannot take special characters such as: | £ ☼ ♠ etc. |
|
|
| Report Abuse |
|
|
| |
|