Help With Regeneration Script
#1
I think it's a ROBLOX conversion error.

[lua]model = game.Work.BLUE
messageText = "REGEN BLUE SPIRE"

message = create("Message")
message.Text = messageText
backup = model:clone(BLUE)

while true do
sleep(10) -- regenerate this model every 300 seconds

message.Parent = game.Work
model:remove(BLUE)

sleep(4) -- display regen message for 4 seconds

model = backup:clone(BLUE)
model.Parent = game.Work
model:makeJoints()
message.Parent = nil
end
[/lua]
[Image: siggggg.gif?t=1312782506]

[Image: signature.png?t=1312081740]
Reply
#2
[lua]
model = game.World.BLUE -- game.World again
messageText = "REGEN BLUE SPIRE"

message = create("Message")
message.Text = messageText
backup = model:clone() -- Put nothing in clone()

while true do
sleep(10) -- regenerate this model every 300 seconds

message.Parent = game.World -- game.World
model:remove() -- Dont put anything in remove()

sleep(4) -- display regen message for 4 seconds

model = backup:clone() -- Dont put anything in clone()
model.Parent = game.World -- game.World
model:makeJoints()
message.Parent = nil
end
[/lua]
[Image: 76561198036192536.png][Image: Ava2.gif]
AntiBoomz0r @ roblox,xfire
AntiBoomz @ minecraft
MiikaFTW @ steam
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)