Kazz
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 4963 |
|
| |
|
| 31 May 2009 01:20 AM |
local model = script.Parent.Parent local messageText = ""
local message = Instance.new("Message") message.Text = messageText backup = model:clone() enabled = true
function onHit(hit) if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and (enabled == true) and (hit.Parent.Name == script.Parent.Parent.Parent.Rig.Rig.OwnerName.Value) then enabled = false message.Parent = game.Workspace model:remove() wait(3) model = backup:clone() model.Parent = game.Workspace model:makeJoints() message.Parent = nil script.Parent.BrickColor = BrickColor.new(26)--Black wait(5) script.Parent.BrickColor = BrickColor.new(104)--Purple enabled = true end end
script.Parent.Touched:connect(onHit) |
|
|
| Report Abuse |
|