An easy workaround is tables.
local variabletable = {
Apple = true,
coolModule = require(urmodule)
}
print(variabletable.Apple)
variabletable.coolModule.dosomething()
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
GUI is a UI, since its a user interface so both can be used! Saying GUI just makes it more specific.
Yeah, you pretty much explained my thing. But again, I’m looking forward to seeing a lot of beginners learning from your tutorial!
Thanks so much, I’ll continue to add stuff to this project including modules!
Nice job dude keep it up. (character limit)