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 » Scripting Helpers
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:32 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
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:33 PM
..Are you serious..I gave you the fixed script in the other subsection you posted in. -.- Alright, whatever. I won't bother to help you.
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:35 PM
Well, thing is, it didn't work :l
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:36 PM
Then you clearly set something up wrong.
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:37 PM
Or, you know, you're just not a very good scripter.

Dramatic reality :O
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:40 PM
Posted: 06-20-2012 10:23 AM
Dralin : Because I'm a nub nub scripter leik dat. :/

Don't even. In fact, you probably don't even know what output is. The script I posted works perfectly fine. I just tested it out by changing the ID. So you clearly set something up wrong.
Report Abuse
Shrimp1789 is not online. Shrimp1789
Joined: 01 Feb 2011
Total Posts: 1935
20 Jun 2012 12:41 PM
Isnt the correct format IsInGroupID "blahblahblah" ?
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:41 PM
Seeing as how I pasted it in a blank script, there doesn't seem to be much wrong with it other than the fact that it probably doesn't work :/
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:42 PM
You clearly don't know anything about scripting. I said you probably set something up wrong. As in the place where the value is, the name of the value, or the type of the value. Idiot.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:43 PM
@Shrimp; No, it's not. It's :IsInGroup(inhere).
Report Abuse
Shrimp1789 is not online. Shrimp1789
Joined: 01 Feb 2011
Total Posts: 1935
20 Jun 2012 12:44 PM
Lol pardon me i was thinking of vip >_> too many of those...... and dark if u dont mind posting ur script i'll be ahppy to c if it does work :)
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:45 PM
Seeing as how you assumed I'd know that the value needed to be changed, you sir, are in fact, the imbecile :/
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:47 PM
> Seeing as how you assumed I'd know that the value needed to be changed, you sir, are in fact, the imbecile :/

Sorry, I forgot that I'm talking to a complete idiot. I didn't know I had to spell out everything. Grow up. Don't rely on others so much, learn yourself. It's not that hard. Don't expect others to do every single thing for you. You've clearly been overprotected.

When I said 'You clear set something up wrong', that's what I meant. I didn't know you were that stupid.
Report Abuse
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
20 Jun 2012 12:49 PM
Obviously, judging by your arrogance, lack of wisdom and obvious attitude problem, you're the one in need of some assistance.

You, assuming that everyone knows the basics of scripting, are in fact a complete and utter fine example of stupidity.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Jun 2012 12:52 PM
function entered(player)
if player:isInGroup(334531) then return end
game.Workspace.tryagain.Value = player.Name
player:Destroy()
end
game.Players.PlayerAdded:connect(entered)


game.Players.PlayerAdded:connect(function(plr)
if plr:IsInGroup(334531) then game.Workspace.tryagain.Value = plr.Name
plr:Destroy()
end end)
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Jun 2012 12:53 PM
Use this one, it should work if not you broke it.

game.Players.PlayerAdded:connect(function(plr)
if plr:IsInGroup(334531) then game.Workspace.tryagain.Value = plr.Name
plr:Destroy()
end end)
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
20 Jun 2012 12:55 PM
What I was talking about didn't even involve scripting. It was changing a type of value.

'arrogance'

I'm not arrogant unless I'm talking to those who think they're smarter for whatever reason when they're clearly complete idiots when relating to the topic.

'lack of wisdom'

I'm lacking wisdom? You're the one who wasn't smart enough to figure out what I meant by 'set something up wrong'.

'obvious attitude problem'

This usually turns out the same with the arrogance one. I don't have a 'attitude problem' unless I'm talking to someone who thinks they're smarter than they really are.

'assuming that everyone knows the basics of scripting'

I never assumed that everyone knew the basics of scripting. If this was your script, you SHOULD know the basics of scripting. Idiot.

'fact a complete and utter fine example of stupidity.'

I'm going to turn this around, and point out the fact that you're the one who refused my help at the beginning, and the the same time posted in the wrong subsection originally.

Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Jun 2012 12:57 PM
Dark's right...
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