|
| 29 Aug 2013 01:14 PM |
debounce = false script.Parent.Touched:connect(function(toucher) wait(1) if debounce == false and toucher ~= workspace.BasePlate then firescript = script:Clone() colorscript = script.Parent.colorscript:Clone() colorscript.Parent = toucher firescript.Parent = toucher fire = script.Parent.Fire:Clone() fire.Parent = toucher toucher.BrickColor = BrickColor.new("Black") human = toucher.Parent:FindFirstChild("Humanoid") if human then while true do toucher.Parent.Humanoid.Health = toucher.Parent.Humanoid.Health - 1 if toucher.Parent.Humanoid.Health <= 0 then break end wait(0.2) end end debounce = true wait(5) debounce = false end end) |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 01:16 PM |
That was #1 script... This is #2 script...
script.Parent.Touched:connect(function(toucher) if toucher.Name ~= "BasePlate" then wait (2) toucher.BrickColor = BrickColor.new("Really black") wait(5) toucher:Destroy() wait (5) end end) |
|
|
| Report Abuse |
|
|
xxBsFxx
|
  |
| Joined: 26 Aug 2013 |
| Total Posts: 3281 |
|
| |
|
| |
|
xxBsFxx
|
  |
| Joined: 26 Aug 2013 |
| Total Posts: 3281 |
|
| |
|
| |
|
| |
|
| |
|
|
| 29 Aug 2013 01:24 PM |
| I mean fire must come out. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 01:26 PM |
Studio>View>Output Window
What's the script meant to do? |
|
|
| Report Abuse |
|
|
| |
|
xxBsFxx
|
  |
| Joined: 26 Aug 2013 |
| Total Posts: 3281 |
|
| |
|
| |
|
xxBsFxx
|
  |
| Joined: 26 Aug 2013 |
| Total Posts: 3281 |
|
| |
|