thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 06 Jul 2015 05:38 PM |
-- This script is made for clan forts to prevent server glitching people, resulting in more players than the server can hold --thea96
MAX_PLAYERS = 20 -- Change this value to the server size of your game, since ROBLOX removed MaxPlayers HintsAppear = true -- Change this value to false if you do not want a message of who attempted to server glitch
game.Players.PlayerAdded:connect(function(player) local players = game.Players:getPlayers() if #players > MAX_PLAYERS then player:Kick() if HintsAppear then local hint = Instance.new("Hint" , game.Workspace) hint.Text = player.Name .. " has been kicked for attempted server glitching" wait(2) hint:Destroy() end print(player.Name .. " has been kicked for attempted server glitching") end end) |
|
|
| Report Abuse |
|
|
| 06 Jul 2015 05:41 PM |
Praise
The world is a cold hell. Let us warm it. |
|
|
| Report Abuse |
|
blake1412
|
  |
| Joined: 21 Aug 2014 |
| Total Posts: 1824 |
|
| |