All I know is local variables are faster by a bit. But what's the overall difference, and should I use one over the other. What I do is use local but i don't know if I should keep doing it.
Local variables only apply in the function or loops or if statements while Global variables are for interacting with the entire script