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: Ban this user from your game or it'll break

Previous Thread :: Next Thread 
VirtualPrince is not online. VirtualPrince
Joined: 17 Oct 2013
Total Posts: 7386
15 May 2014 07:37 PM
http://www.roblox.com/User.aspx?ID=5552634

Messes with a lot of stuff, ban him before anything else executes

I realize lots of you most likely know about him already, but for the ones who don't

Good idea to ban him before any other scripts execute
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
15 May 2014 07:41 PM
LOL That's genius. Too bad you can ban him with :FindFirstChild ()
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
15 May 2014 07:48 PM
That's why I don't do 'bla.NumPlayers'
Report Abuse
VirtualPrince is not online. VirtualPrince
Joined: 17 Oct 2013
Total Posts: 7386
15 May 2014 07:51 PM
I just put him in a global ban list, and if he matches the name of it he'll be removed

It is a clever idea though, lol.
Report Abuse
LuaSir is not online. LuaSir
Joined: 30 Mar 2014
Total Posts: 40
15 May 2014 08:17 PM
No it isn't, because anyone with a brain uses PlayerAdded and checks the user id... e.e
e.eee
e.eeeee
Report Abuse
Merely is not online. Merely
Joined: 07 Dec 2010
Total Posts: 17266
15 May 2014 08:20 PM
Property indexing trumps child indexing.

If he's in the server, game.Players.NumPlayers will still be the property. It won't break anything.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
15 May 2014 08:49 PM
game.Players.PlayerAdded:connect(function(plr)
if plr.Name == "NumPlayers" do
plr:Kick()
end
end)
Report Abuse
VirtualPrince is not online. VirtualPrince
Joined: 17 Oct 2013
Total Posts: 7386
15 May 2014 09:00 PM
@Merely
It does, use to at least. I saw him in games w/ broken servers.
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
15 May 2014 09:22 PM
Did some testing, doesn't appear to be an issue.
Report Abuse
Insoul is not online. Insoul
Joined: 04 May 2014
Total Posts: 66
15 May 2014 10:20 PM
with names that are like properties, and such
RobloxLocked
SetMembershipType
NumPlayers

it's a challenge for some

l0l

herro Im syKo
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
16 May 2014 02:15 AM
Im glad I never used NumPlayers but #game.Players:GetPlayers() :D
Report Abuse
belial52 is not online. belial52
Joined: 10 Oct 2009
Total Posts: 8074
16 May 2014 07:27 AM
If you're so worried about it, then you could do something like if (type(game.Players.NumPlayers) ~= "Number") then

Hello, I'm belial52 I started typing this at: 8:27:13 on 5/16/2014!
Report Abuse
m27frogy is not online. m27frogy
Joined: 26 Mar 2009
Total Posts: 4427
16 May 2014 11:06 AM
Guys, a real table value trumps a meta-table lookup. This wouldn't break anything.
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