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: !Help!

Previous Thread :: Next Thread 
sal212 is not online. 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 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
04 Jul 2015 09:47 PM
b
Report Abuse
StartDeveloping is not online. StartDeveloping
Joined: 16 Feb 2015
Total Posts: 740
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 is not online. 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
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
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 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
05 Jul 2015 08:26 AM
Thank you!
Report Abuse
sal212 is not online. 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 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
12 Jul 2015 03:26 PM
u
Report Abuse
McGunz is not online. 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
StartDeveloping is not online. StartDeveloping
Joined: 16 Feb 2015
Total Posts: 740
12 Jul 2015 09:26 PM
Livin life of a life of a noob I rarely use my McGunz
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