I am trying to create a sliding doorway, but nothing ever happens. What have I done wrong? There are two sliding doors and they are activated when I step on a part. The script is here: http://pastebin.com/xfRPqAQt
You never defined debounce.
At the top define debounce, in this way:
debounce = true