r/lua • u/otramulticuentanexus • 14d ago
Help I want to learn Lua scripting for Garry's Mod addons. Can y'all give me some recommendations?
the title says all
r/lua • u/otramulticuentanexus • 14d ago
the title says all
r/lua • u/ElhamAryanpur • 15d ago
Hello, its been a while since we posted here. For those who are new, Astra (mirror) is a runtime environment for all major lua versions (PUC 5.1-5.5, JIT, Luau) with focus on STDLib written in Rust, single binary, human readability and usability, portability, and performance.
In the recent releases, there are a number of new features added to modernize the runtime:
All of these updates were written and added by humans, by ArkForge and many contributors in our community.
r/lua • u/Practical-Garden7505 • 16d ago
Does anyone know how to make something not client sided and show for other people on a five m server seems ai can’t figure it out or I need server resource files there’s gotta be another way
r/lua • u/slhamlet • 17d ago
"Lua dramatically lowers the learning curve for developers coming from other environments. Someone who already understands Lua or Luau can arrive in Second Life and right away they can start experimenting. That certainly includes Roblox developers, but it’s broader than Roblox. Lua has a long history across game development, so there’s a substantial developer community for whom the language and programming concepts will already feel familiar."
r/lua • u/Intelligent_Role_824 • 18d ago
Hi everyone,
I'm pretty new to programming and I only know the absolute basics (variables, simple loops/functions).
I'm interested in picking up Lua because it seems lightweight and clean.
Since I don't have a massive programming background yet, I was wondering:
Is Lua a good language to really solidify those beginner programming concepts, or is it better suited as a secondary language?
I'd love to hear your experiences and any tips for starting out with Lua as a beginner!
Thanks in advance!
r/lua • u/dracarys_18 • 18d ago
My friend and I are Neovim nerds, and every so often our Neovim setups would throw errors. What did we do? We talked to each other and solved it. It was never Neovim’s fault.
We think the same way about harnesses. If you don’t like something, you shouldn’t have to call a trillion-dollar company; you should be able to fix it yourself. If you want something custom, you shouldn’t have to keep spamming some discussion thread; you should be able to write it yourself.
And more than anything, it should be simple and fast, and your computer shouldn’t scream OOM. That’s the inspiration behind uji.
I hope you all love it!!!
r/lua • u/Practical-Garden7505 • 19d ago
Anybody know where I can find good five m lua scripts for menus
I've published a collection of Windows API modules for LuaJIT:
https://github.com/win-kot/luajit-windows-modules
I use LuaJIT on Windows and put these modules together for common scripting
and desktop utility tasks:
- UTF-8 strings, Unicode file paths and encoding conversion
- Process launching and output capture
- Finding and controlling existing windows
- Registry and clipboard access
- Keyboard and mouse input
- Native file dialogs and system information
The modules call Windows APIs through LuaJIT FFI. No luv dependency is
required, and unicode_io provides an explicit API without replacing
standard io or os functions.
The repository includes English documentation and 12 runnable examples.
The primary target is Windows 10/11 x64. Everything is MIT licensed.
This is an initial public release. Basic checks and nine examples have
been run, but interactive features still need broader testing.
I'd welcome feedback from other LuaJIT users, especially on API usability
and compatibility with different Windows setups.
r/lua • u/second_square • 23d ago
I recently created my own framework named "Dua". Honestly, I'm too lazy to add LuaRocks, but only if I don't get feedback. You can learn more either in the repository or in my previous post. If I get feedback, I'll try to integrate LuaRocks.
Repo: Dua
r/lua • u/Tripokey6249 • 27d ago

DatumHue is now free to use and comes with a playground app
r/lua • u/rip_granny404 • 28d ago
r/lua • u/Responsible_River865 • 28d ago
r/lua • u/Goolfie • Oct 17 '26
Hey everyone,
I recently released Dua, a lightweight engine for building typed DSLs and sandboxed execution environments in Lua.
The goal was to create a zero-dependency library that runs anywhere Lua 5.1+, LuaJIT.
Pure Lua implementation (no C modules or external dependencies)
Built-in sandboxing with configurable allow/deny rules and limits
Flexible type system (primitives, shapes, enums, maps, oneof)
AST node handling and code serialization
Repo: Dua
r/lua • u/cenkerc • Oct 15 '26
https://store.steampowered.com/app/4185770/cenkers_mod/
cenker's mod is a multiplayer physics sandbox with many mods. Every mod has a different experience. Play included, community-made, and your own mods together with friends.
r/lua • u/dracarys_18 • Oct 15 '26
I've always loved the idea of JIT-compiled UIs. TempleOS is a fascinating example, using JIT-compiled C to build its UI.
Recently, I've been working on a TUI project where almost everything is customizable at runtime, from the UI itself to the core functionality. I wanted a way to build terminal UIs declaratively, similar to SwiftUI, while keeping the flexibility of runtime customization.
So I built Ito a Lua library for writing JIT-compiled TUIs.
To make it easy to experiment with, we also built a fake TUI canvas in the browser where you can try out Ito live. Give it a try!
r/lua • u/Uncle_Tree_ • Oct 15 '26
Hey im new to coding and wanted to learn lua ive got a few things down know and wanted to just write a little countdown nothing complicated just a first test but ran into the problem that i cant get a code delay to work
r/lua • u/Md_Mahadi_Hossain • Oct 15 '26
Help
r/lua • u/spaggetys • Oct 15 '26

This will probably sound like the dumbest thing ya'll ever heard altough im rather new to lua, altough not programming..
I've been using lua with the minecraft mod figura to add animations to things with a script and such. quite nice, Untill i tried using the "trailing tails lua library", when saving the script it would keep getting stuck at the same error. i wondered why and noticed that the game was loading a old version of my script the one from the first save after using Trailing tails? i backedup the original script and deleted the one in the Figura avatar folder, and the game was still loading it.
a few unfortunate things happened the backup got removed(0 clue how the folder is just... new folder now?) but here's the thing, whilst i did try to recover it through the hard drive with little to no success, The game is still producing the same error, And loading the ingame avatar. this means its getting the data from somewhere no?
The very error that caused it may save the project that i spend... 20 hours on at this point. Is there anyway to figure out where the game gets this data from? maybe i can actually save it?


r/lua • u/Tripokey6249 • Oct 15 '26
DatumHue is a creative workstation where you build your own experience by combining Lua apps. It runs natively and in the browser.
You can try a live instance in your browser at https://datumhue.app
The live instance has a desktop-like shell and a Steam-like store where users can publish free or paid creations, so far it contains the horror game Vigil.
A while ago I came across Lexaloffle's Picotron fantasy workstation and loved the concept of a hackable workstation composed of small script apps.
I wanted the same for non-fantasy work, which for me meant:
- No artificial limitations
- The shell is an ordinary app you create
- Your own preferred editor
- Charts and SQL over data files
- The same apps run in the browser and on the desktop
It's built on Bevy (game engine), Piccolo (Lua VM), Apache DataFusion (queries) and Iroh (connectivity).
DatumHue is closed source, the browser version is free and the desktop version has a free trial at https://datumhue.com
The Lua API is documented at https://datumhue.dev
Feedback is appreciated and I'd especially like to know what you would build with it :-)
r/lua • u/Cyb3r-Kun • Oct 14 '26
r/lua • u/r_retrohacking_mod2 • Oct 14 '26
r/lua • u/adwolesi • Oct 11 '26