Tutorial:Dealing with debounce

This tutorial goes over the term of debounce. Debounce is a bool variable that is used in scripting as a delay for events. For example, when something triggers a 's touched function, it will fire multiple times in the same millisecond. To prevent this, an if statement is added checking if the debounce variable is true. If it is, it gets set to false and the code runs.