|
| 02 Jun 2012 04:00 PM |
Here is a regen script. It works once, then it doesnt do anything again even if i say regengame.
model = game.Workspace.game backup = model:clone()
function onChatted(msg, recipient, speaker)
local source = string.lower(speaker.Name) msg = string.lower(msg)
if (msg == "regengame") then model:remove() model = backup:clone() model.Parent = game.Workspace model:makeJoints() end
end
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end
game.Players.ChildAdded:connect(onPlayerEntered)
|
|
|
| Report Abuse |
|
Abillityx
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 3938 |
|
|
| 02 Jun 2012 04:04 PM |
The script's on the wiki.
-Abillityx; blade master, builder, programmer, veteran, and friend |
|
|
| Report Abuse |
|