|
| 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 |
|
|
|
| 28 Aug 2011 06:10 AM |
| It starts to run the script, but then it does nothing more. |
|
|
| Report Abuse |
|
|
hikk
|
  |
| Joined: 15 Jan 2007 |
| Total Posts: 13775 |
|
| |
|
| |
|
|
| 28 Aug 2011 06:35 AM |
| And are you sure that is the right script? |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 28 Aug 2011 07:34 AM |
| Well not really, sort of like the one at Sword Fighting Torament. |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Aug 2011 08:29 AM |
Now I get this problem!
"Workspace.Regen Stuff.Regen Script:4: '=' expected near 'messageText'"
|
|
|
| Report Abuse |
|
|