Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is the local keyword for?

I have looked in the Glossary on this website and on the Wiki, I just don't understand what the local keyword is used for "AT ALL."

1 answer

A local variable can be accessed by every function on the script, while a normal variable can only be accessed in the function its in. For more information check the Scripting Helpers " Scripting Glossary "

This discussion is preserved as it was. New answers, comments, and votes are closed.