iGobitoe
|
  |
| Joined: 29 Mar 2013 |
| Total Posts: 6690 |
|
|
| 25 Jan 2014 11:15 AM |
debounce = false
script.Parent.MouseButton1Down:connect(function(Clicked) if script.Parent.BrickColor == BrickColor.new("Bright green") then script.Parent.Parent.Door.CanCollide = false script.Parent.Parent.Door.Transparency = 1 script.Parent.BrickColor = BrickColor.new("Bright red") else if script.Parent.BrickColor == BrickColor.new("Bright red") then script.Parent.Parent.Door.CanCollide = false script.Parent.Parent.Door.Transparency = 0 script.Parent.BrickColor = BrickColor.new("Bright green") end end end)
the first lines it was working with onTouch |
|
|
| Report Abuse |
|
|
iGobitoe
|
  |
| Joined: 29 Mar 2013 |
| Total Posts: 6690 |
|
| |
|
zombie2u
|
  |
| Joined: 22 Jan 2008 |
| Total Posts: 1154 |
|
|
| 25 Jan 2014 11:20 AM |
| we're not making scripts for you |
|
|
| Report Abuse |
|
|
iGobitoe
|
  |
| Joined: 29 Mar 2013 |
| Total Posts: 6690 |
|
|
| 25 Jan 2014 11:21 AM |
@zombie gtfo u asked for a script i'm trying to fix a mistake i did in a script |
|
|
| Report Abuse |
|
|
iGobitoe
|
  |
| Joined: 29 Mar 2013 |
| Total Posts: 6690 |
|
| |
|
|
| 25 Jan 2014 11:32 AM |
wtf is the point in having that debounce if you don't change it anywhere.
#nerdsunited |
|
|
| Report Abuse |
|
|