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 » Club Houses » Clans & Guilds
Home Search
 

Re: Server-Glitch fix

Previous Thread :: Next Thread 
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
08 Dec 2013 06:29 PM
local MaxPlayers = 1
game:GetService("Players").PlayerAdded:connect(function(player)
if Game:GetService("Players").NumPlayers > MaxPlayers then
if not pcall(function() player:Kick() end) then
game:GetService("Debris"):AddItem(Player,0)
end
end
end)
Your welcome.
Report Abuse
warpendeshia is not online. warpendeshia
Joined: 10 Dec 2010
Total Posts: 8714
08 Dec 2013 06:30 PM
[ Content Deleted ]
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
08 Dec 2013 06:31 PM
hey dont do kick()
it nils the player i think, allowing them to see the base and give hints to the players
Report Abuse
GustFlame is not online. GustFlame
Joined: 17 Oct 2008
Total Posts: 3708
08 Dec 2013 06:32 PM
no it shuts their game down
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
08 Dec 2013 06:32 PM
Thea, it stops all replications from the server to the player client.
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
08 Dec 2013 06:34 PM
oh, so this one wont allow the player to have a free view of the map and click door buttons?
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
08 Dec 2013 06:35 PM
Nope.
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
08 Dec 2013 06:36 PM
ok

http://www.youtube.com/watch?v=-VXVhN7JD-4
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
08 Dec 2013 06:39 PM
Bump, must be known to all.
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
08 Dec 2013 06:46 PM
Just to clarify, this will shutdown the last player that joined if the number of players in the game is larger then the MaxPlayers variable.
Report Abuse
warpendeshia is not online. warpendeshia
Joined: 10 Dec 2010
Total Posts: 8714
08 Dec 2013 06:48 PM
[ Content Deleted ]
Report Abuse
AbstractedUnova is not online. AbstractedUnova
Joined: 03 Sep 2011
Total Posts: 176
08 Dec 2013 07:26 PM
Oh I see..Thank You, useful in a way.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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