

You can also print numbers and all kinds of other stuff like the results of calculations (e.g. If you want exact text to be printed, use quotes (double ” or single ‘ quotes work). Success! You just ran one of Lua’s native functions, print(). You should now see the Lua Engine window open with “Hello, World” in the output section, like so:

Then, click on Table, then Show Cheat Table Lua Script. You knew it was coming, but we have to do it! Let’s make CE’s Lua Engine output “Hello, World”. You can run all of the code examples I provide directly in Cheat Engine, but don’t just copy them over because CE won’t recognize some of the copied characters! If you do copy/paste, look for the characters you have to fill in. If you don’t have Cheat Engine, go install it now (I won’t be blamed if you install bundled offers, so READ THE INSTALLATION PROMPTS CAREFULLY) so you can follow along. Which is an incredibly powerful tool–not only for purposes of hacking games and reversing software, but also for learning everything from Assembly, to reverse engineering concepts, to Lua, and much more. I’ll spare you the details about what Lua is and how to generically learn the language in 0.013 seconds, and instead we’ll learn by doing. To note, this article will soon take the form of a video, so if that’s your preferred medium, then just know that’s coming soon and I’ll populate this article with it once it’s done.

So you want to get started learning Lua and creating scripts, huh? Well you’ve come to the right place, so LET’S DO IT! =) Introduction to Lua using Cheat Engine: Beginner to Basic Script Writer! May 25, 2017
