#How do functions work?
1 messages · Page 1 of 1 (latest)
Functions just create a new scope that runs whenever it gets called. Mainly used for parts of codes that keep on getting reused
The stuff you’re asking about are just properties, just read the doc pages for the instances that have said properties
So basically if u press a button the script will run?
If you script in that that event connects to said function, then yes
Is there a tutorial that explains functions in much more detail?
There are plenty of pseudocode lectures of functions on youtube
Just look for proper lectures instead of “roblox tutorials”
and also are there any other things i need to learn about in order to master functions?
Start learning at http://code.org/
Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg
Help us ...
Start learning at http://code.org/
Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg
Help us ...
Yes, it’s JS, not luau/pseudo, but the concepts remain the same
Oh ok.