sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 04 Jul 2015 09:44 PM |
| Is there a script where it changes the shutdown message when you get shutdown, instead of "The game has shutdown"? Thanks. |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
| |
|
|
| 04 Jul 2015 09:51 PM |
Insert a Script in game -> ServerScriptStorage
Script:
game.OnClose = function() -- Your Code wait(5) -- Enter how many seconds till shutdown end
Example:
game.OnClose = function() local msg = Instance.new("Message", game.Workspace) msg.Text = "Game shutting down for an update..." wait(5) -- Enter how many seconds till shutdown end |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 05 Jul 2015 08:04 AM |
| Is there one that works inserting a script in workspace? Because im inserting scripts in-game using admin cmds. |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2015 08:07 AM |
local function Shutdown(Message) for i, v in next, game.Players:GetPlayers() do v:Kick(Message) end end
Shutdown("You are all being kicked for being noobs.")
This script will replace the 'Game has shutdown' in the red box to 'You are all being kicked for being noobs.'.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
| |
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 12 Jul 2015 03:20 PM |
| How would I do it on individual players now? |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
| |
|
McGunz
|
  |
| Joined: 26 Dec 2011 |
| Total Posts: 759 |
|
|
| 12 Jul 2015 05:31 PM |
player = game.Players.PlayerName
player:Kick("You have been kicked for being a noob!")
a noob will be a noob and will always be a noob |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2015 09:26 PM |
| Livin life of a life of a noob I rarely use my McGunz |
|
|
| Report Abuse |
|
|