generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Script (Broken)

Previous Thread :: Next Thread 
ryan3859 is not online. 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
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
17 Nov 2011 07:40 PM
I'm assuming this is part of script?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
17 Nov 2011 07:41 PM
part of *a* script*
Report Abuse
HaileyForever is not online. HaileyForever
Joined: 01 Oct 2011
Total Posts: 1496
17 Nov 2011 07:41 PM
YOUR FACE IS BROKEN

:DDDDDDDDDDD
Report Abuse
nate890 is not online. 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
techepicface is not online. techepicface
Joined: 28 Jun 2011
Total Posts: 1180
17 Nov 2011 07:46 PM
Replace the boolvalues after the IsInGroups nil.
Report Abuse
nate890 is not online. 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 is not online. ryan3859
Joined: 20 Nov 2010
Total Posts: 646
18 Nov 2011 09:15 AM
All of them failed.
Report Abuse
EliteAaronChoo is not online. EliteAaronChoo
Joined: 08 Jul 2010
Total Posts: 677
18 Nov 2011 09:17 AM
Watch your grammar, Revise it.
Report Abuse
ryan3859 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image