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: Would this OBC only script work?

Previous Thread :: Next Thread 
shadowymaster123 is not online. shadowymaster123
Joined: 26 Jan 2012
Total Posts: 2666
12 Sep 2012 01:15 PM
game.Players.PlayerAdded:connect(function(player)
if not player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
player:remove()
end
end)

Havent tried yet. Hope it does.


~ I'm a 2012'er that can easily pwn you!~
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
12 Sep 2012 01:27 PM
player:Destroy() besides that yes, but you're a noob if you're going to do this, XD. Unless you have a good reason for a game, like an OBC hangout, fine.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=77825455 -- rap battle me or someone else!
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
12 Sep 2012 02:04 PM
It works with :remove() aswell. (Or did they completly remove it?)
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
12 Sep 2012 02:06 PM
I'm just saying if they did it would break sooner or later, and that wouldn't be good... XD.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=77825455 -- rap battle me or someone else!
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
12 Sep 2012 02:07 PM
It's close to:
:findFirstChild()
:FindFirstChild()
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
12 Sep 2012 02:08 PM
I prefer FindFirstChild because it's less likely to break now that ROBLOX changed everything... It used to be formFactor now it's FormFactor, I mean really ROBLOX!

http://www.roblox.com/Forum/ShowPost.aspx?PostID=77825455 -- rap battle me or someone else!
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
12 Sep 2012 02:16 PM
I use :findFirstChild() in all of my scripts. None broken yet. It's just some sort of "old" version.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
12 Sep 2012 02:17 PM
Anyways here the difference between :Remove() and :Destroy().

game.Workspace.Part:Remove()

same as

Part.Parent = nil

--

game.Workspace.Part:Destroy()

the part is gone forever.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
12 Sep 2012 02:20 PM
I know... Also, they might remove or should i say destroy the old versions...

http://www.roblox.com/Forum/ShowPost.aspx?PostID=77825455 -- rap battle me or someone else!
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
12 Sep 2012 02:25 PM
That might has an age of over a year now.
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
12 Sep 2012 02:27 PM
Cease, I posted something on rap battle...
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