LOBOT44
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 23539 |
|
|
| 07 Jul 2012 05:48 PM |
Does this need a Debounce? im trying to learn Debounce
print("Talky figure")
local l = script.Parent.Parent
function onHit(Hit)
local h = Hit.Parent:FindFirstChild("Humanoid")
if(h~= nil)then
l.Name = "Hi!" wait(2) l.Name = "Now die" wait(2) h.Health = 0 wait(2) l.Name = "Figure" wait(2)
end end
script.Parent.Touched:connect(onHit) |
|
|
| Report Abuse |
|
| |