Skip to content

Instantly share code, notes, and snippets.

@jocull
Created January 28, 2012 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jocull/1692030 to your computer and use it in GitHub Desktop.
Save jocull/1692030 to your computer and use it in GitHub Desktop.
LUA block
while true do
print("Ore regen process, begun")
wait(5)
function onTouch(part)
if part.Name == "UnrefinedGold" then
part:remove()
print("Ore removed")
wait(1)
print("Backing up clone")
model = backup:clone()
model.Parent = game.Workspace
model:makeJoints()
wait(10)
print("Ore regen process, complete")
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment