04-15-2011, 08:19 PM
model = game.World.Ingredients
message = "Rebuilding..."
backup = model:clone()
enabled = true
link(script.Parent.Clicked, function(player, btn)
if not enabled then return end
enabled = false
script.Parent.Color = Color(127, 127, 127)
local copy = backup:clone()
model:remove()
game:message(message)
sleep(2)
game.TaskSchedulerchedule(function()
copy.Parent = game.World
copy:makeJoints()
end)
model = copy
game:message()
sleep(3)
enabled = true
script.Parent.Color = Color(0, 102, 255)
end)
K, K, whatever XP
message = "Rebuilding..."
backup = model:clone()
enabled = true
link(script.Parent.Clicked, function(player, btn)
if not enabled then return end
enabled = false
script.Parent.Color = Color(127, 127, 127)
local copy = backup:clone()
model:remove()
game:message(message)
sleep(2)
game.TaskSchedulerchedule(function()
copy.Parent = game.World
copy:makeJoints()
end)
model = copy
game:message()
sleep(3)
enabled = true
script.Parent.Color = Color(0, 102, 255)
end)
(04-15-2011, 08:17 PM)Anti Wrote: Scripting
Get scripting help here, and post your scripts.
Scripting is for everything with scripting.
That includes help topics (Get scripting help here...) :3
Help is for everything else xD
K, K, whatever XP
Shiggity Shiggity Shwa