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 » Roblox » Help (Technical Support and Account Issues)
Home Search
 

Can I make it so my personal server doesn't permanetly stay?

Previous Thread :: Next Thread 
Dreadlockx10 is not online. Dreadlockx10
Joined: 29 Jul 2013
Total Posts: 1558
22 Nov 2015 07:29 AM
I have a group server, and I want to know if there's atleast an admin command that can refresh the game to its normal state. Or can I make it like a regular game when you leave, it turns normal again?


Stay MLG!
Report Abuse
Dreadlockx10 is not online. Dreadlockx10
Joined: 29 Jul 2013
Total Posts: 1558
22 Nov 2015 07:36 AM
bump


Stay MLG!
Report Abuse
Dreadlockx10 is not online. Dreadlockx10
Joined: 29 Jul 2013
Total Posts: 1558
22 Nov 2015 07:39 AM
b2 (And 900th post yay c:)


Stay MLG!
Report Abuse
Dreadlockx10 is not online. Dreadlockx10
Joined: 29 Jul 2013
Total Posts: 1558
22 Nov 2015 07:54 AM
Help, please?


Stay MLG!
Report Abuse
Dreadlockx10 is not online. Dreadlockx10
Joined: 29 Jul 2013
Total Posts: 1558
22 Nov 2015 08:15 AM
Can someone atleast help?


Stay MLG!
Report Abuse
Reshiram110 is not online. Reshiram110
Joined: 26 Nov 2014
Total Posts: 2265
22 Nov 2015 09:34 AM
Use an ONchatted() function,and use a string table to check the users name.When person X chats "Regen",the script checks to see if Person X's name is "BLABLABLA".If so,then restore a backup.

When you first publish the server,make sure this line of code is in your Backup script:
local cparts = game.Workspace:GetChildren()
for i = 1, #parts do
parts[i]:Clone().Parent=game.Lighting
end

Now,whenever the regen message is verified,use this line of code:
local cparts = game.Workspace:GetChildren()
print("Regenerating map!")
for i = 1, #parts do
parts[i]:Remove()
end

local parts = game.Lighting:GetChildren()
for i = 1, #parts do
parts[i]:Clone().Parent=game.Workspace
end

Hope this helps.
PS:This should be in the scripters forums.
Report Abuse
Reshiram110 is not online. Reshiram110
Joined: 26 Nov 2014
Total Posts: 2265
22 Nov 2015 09:35 AM
The "CParts "was meant to be "parts"
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
   
 
   
  • 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