Still do, makes it harder to read. You should be making ur code cleaner as you’re showing it to beginners so it should be clean
Will do!
POSTLIMITPOSTLIMITPOSTLIMIT
Don’t forget to mention Roblox allows 200 locals per script its a fact not-known by many programmers
just in case you exceed the limit by not using modules or tables …etc
I will add that now, thanks for reminding me!
An easy workaround is tables.
local variabletable = {
Apple = true,
coolModule = require(urmodule)
}
print(variabletable.Apple)
variabletable.coolModule.dosomething()
I will be including tables later on in the tutorial, that is why I only mentioned modules in how to bypass, and yes tables are an easy workarround, also keep in mind I will be mentioning with the ModuleScripts that _G is bad practise once your understand module scripts
There are much better resources Hour 11. Lua Overview - Roblox Game Development in 24 Hours: The Official Roblox Guide [Book]
I know, I thought might aswell make a tutorial just in case, like me, they made no sense except the only thing they taught me is how to type hello world claps
They think that to make a game like adopt me you just have to type this
while true do
print('Hello World!')
end
And so I created a tutorial for the basic luau!
Nice job with the loops and ifs elseifs.
Thank you so much, I will be adding more soon
Nice work on the tables tutorial!
Adding Dictionary soon!
Global variables are bad practice and usually eat away some of your game’s performance. Module scripts are more effective.
I already commented on this, I will be adding more!
Thanks for suggesting though!
StarterGui*
Also amazing tutorial! 10/10
Thanks, when not coding I always say UI instead of GUI, thanks for feedback.
UI = User Interface
GUI = Graphical User Interface
I think we all get confused with UI and GUI, haha. UI is User Interface and GUI is Game User Interface. GUI is used in all games, Roblox, COD, Minecraft etc.
Ah, yes I mess up with graphical and game, my bad
I think its graphical user interface not game but might be wrong