ryan3859
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 646 |
|
|
| 17 Nov 2011 07:38 PM |
Whats wrong with this script? Its a lockdown script I made. -------------------- if (workspace.Lockdown.Value == true) then if (newPlayer:IsInGroup(318254)==false) and (newPlayer:IsInGroup(420093)==false) then newPlayer:remove() end end
|
|
|
| Report Abuse |
|
|
|
| 17 Nov 2011 07:40 PM |
| I'm assuming this is part of script? |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Nov 2011 07:41 PM |
YOUR FACE IS BROKEN
:DDDDDDDDDDD |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Nov 2011 07:44 PM |
game.Players.PlayerAdded:connect(function(plr) if workspace.Lockdown.Value and not plr:IsInGroup(318254) and not plr:IsInGroup(420093) then plr:remove() end end) |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2011 07:46 PM |
| Replace the boolvalues after the IsInGroups nil. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Nov 2011 07:51 PM |
"Replace the boolvalues after the IsInGroups nil."
What? It makes no difference whether you say "statement==false" or "not statement". |
|
|
| Report Abuse |
|
|
ryan3859
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 646 |
|
| |
|
|
| 18 Nov 2011 09:17 AM |
| Watch your grammar, Revise it. |
|
|
| Report Abuse |
|
|
ryan3859
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 646 |
|
|
| 18 Nov 2011 09:52 AM |
@Nate, It worked. Nvm. I just had the value false. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 18 Nov 2011 02:44 PM |
| "grammar, Revise" I see on start of a new sentence, from what I know "Revise" isn't a name of anything, why is it capitalized? Grammar error, I suppose. |
|
|
| Report Abuse |
|
|