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 » Scripting Helpers
Home Search
 

Re: Worspace Regen

Previous Thread :: Next Thread 
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 06:00 AM
I am trying to make it that the workspace regens every "x" but it is not working, any help?

object = script.Parent
if (object ~= nil) and (object ~= game.Workspace) then
model = object
messageText = "Regenerating the Game! Please Wait!"

message = Instance.new("Message")
message.Text = messageText
backup = model:clone()
waitTime = 50
wait(math.random(0, waitTime))
while true do
wait(waitTime)

message.Parent = game.Workspace
model:remove()

wait(2.5)

model = backup:clone()
model.Parent = game.Workspace
model:makeJoints()
message.Parent = nil
end
end
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 06:10 AM
It starts to run the script, but then it does nothing more.
Report Abuse
hikk is not online. hikk
Joined: 15 Jan 2007
Total Posts: 13775
28 Aug 2011 06:13 AM
[ Content Deleted ]
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 06:30 AM
Nope, where do I put it?
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 06:35 AM
And are you sure that is the right script?
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 07:15 AM
? Any help?
Report Abuse
NXTBoy is not online. NXTBoy
Joined: 25 Aug 2008
Total Posts: 4533
28 Aug 2011 07:19 AM
You want to regenerate _everything_ within workspace?

Does that include regenerating the script that regenerates everything within workspace?
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 07:34 AM
Well not really, sort of like the one at Sword Fighting Torament.
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
28 Aug 2011 08:00 AM
[ Content Deleted ]
Report Abuse
CatcherOfSouls is not online. CatcherOfSouls
Joined: 31 Jul 2011
Total Posts: 2319
28 Aug 2011 08:29 AM
Now I get this problem!

"Workspace.Regen Stuff.Regen Script:4: '=' expected near 'messageText'"
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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