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
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Group ID Scanner

Previous Thread :: Next Thread 
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:19 PM
Basicaly, this is a very simple piece of coding that should, essentialy, scan to see if a person entering a server is part of a specific group. If said person isn't part of the specified group, the script is supposed to remove them from the server. Unfortunately, it seems to be malfunctioning, and I can't seem to find what's wrong with it. :(

Any assistance would be much appreciated.

function entered(player)
if player:isInGroup(334531) then return end
game.Workspace.tryagain.Value = player.Name
player:Destroy()
end
game.Players.PlayerAdded:connect(entered)
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jun 2012 12:21 PM
Well maybe you should learn how blocks work k?
Unless you missed an end by accident..
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jun 2012 12:22 PM
oh nvm i read it wrong qq
y u no ~ instead of that return krap
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:22 PM
Maybe you should get an attitude adjustment. :l

I hear that they do marvelous things at psychiatric clinics nowadays.
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:23 PM
Because I'm a nub nub scripter leik dat. :/
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:25 PM
There's a sub forum called Scripting Helpers for a reason.

function entered(player)
if not player:IsInGroup(334531) then
game.Workspace.tryagain.Value = player.Name
player:Destroy()
end
end
game.Players.PlayerAdded:connect(entered)
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jun 2012 12:26 PM
One reason might be that you're trying to remove the player too fast.. Try it with some kind of a wait
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:26 PM
True, but I prefer not having to wait 2 hours for a helpful reply.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:27 PM
2 hours? Bullcrap.

@su; y u no see he has under case letter i in IsInGroup
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jun 2012 12:28 PM
>@su; y u no see he has under case letter i in IsInGroup

idk
Report Abuse
geicogeko is not online. geicogeko
Joined: 27 Apr 2010
Total Posts: 2727
20 Jun 2012 12:28 PM
Be glad that they helped you at all. Normally, they would have eaten you.
Report Abuse
jode6543 is not online. jode6543
Joined: 16 Jun 2009
Total Posts: 5363
20 Jun 2012 12:41 PM
I sure would've. I had the ketchup all ready, I was gonna make him into a hot dog. :c

-Jode
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:48 PM
Go ahead and eat him. He's calling me a bad scripter because he doesn't know how to set up values properly.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=70358636
Report Abuse
C7G is not online. C7G
Joined: 24 Sep 2011
Total Posts: 140
20 Jun 2012 01:02 PM
@geico
>would have
>would have
>WOULD HAVE
will
Who's ready for some fried C&Ger?
I have the cauldron, will someone pass me the bacon juice?
Report Abuse
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
20 Jun 2012 01:03 PM
>~=
>Not "NOT"

Sure is plebe in here.

Excuse me if I'm rusty.



game.Players.PlayerAdded:connect(function(player)
if NOT player:isInGroup(ID) then
player:Remove()
end
end
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
20 Jun 2012 02:51 PM
If there's a 2 hour waiting time, then you do not have the right any more than anyone else to skip it.

go away you selfish n00b
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jun 2012 02:56 PM
that's what she said
Report Abuse
slayer219 is not online. slayer219
Joined: 15 Nov 2008
Total Posts: 3445
20 Jun 2012 03:33 PM
^ he wins
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
20 Jun 2012 03:54 PM
No he just insulted himself.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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