where do you learn lua for noscripting in games like roblox?
as the noscript says i wanna learn lua but idk how i should go about it or where i would learn it from
https://redd.it/1h7lt41
@r_lua
as the noscript says i wanna learn lua but idk how i should go about it or where i would learn it from
https://redd.it/1h7lt41
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I am a roblox client or local sided developer and I want to make a client sided path finding service for a sword fighting ai that already has the moving part and attacking now I just wanted to add path finding so it's better any help?
So I've been working on a sword fighting bot on the client and I need some help read the noscript to see what I need help with.
https://redd.it/1h7r12l
@r_lua
So I've been working on a sword fighting bot on the client and I need some help read the noscript to see what I need help with.
https://redd.it/1h7r12l
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lua Help
I dont know how to use lua and i want to learn, but there are no websites to learn lua
https://redd.it/1h7vbr7
@r_lua
I dont know how to use lua and i want to learn, but there are no websites to learn lua
https://redd.it/1h7vbr7
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Hercules - A Lua Obfuscator
Hercules is a Lua Obfuscator ive been working on for a bit, as a fun project. I was looking for people to review it, and give me some constructive criticism on what I can do better. Ive linked the GitHub Repository below.
https://github.com/zeusssz/hercules-obfuscator
https://redd.it/1h8561m
@r_lua
Hercules is a Lua Obfuscator ive been working on for a bit, as a fun project. I was looking for people to review it, and give me some constructive criticism on what I can do better. Ive linked the GitHub Repository below.
https://github.com/zeusssz/hercules-obfuscator
https://redd.it/1h8561m
@r_lua
GitHub
GitHub - zeusssz/hercules-obfuscator: A powerful Lua obfuscator designed to make your Lua code nearly impossible to reverse-engineer…
A powerful Lua obfuscator designed to make your Lua code nearly impossible to reverse-engineer, with multiple layers of advanced obfuscation techniques - zeusssz/hercules-obfuscator
Key swapping Lua Scripts for 9 keys (PRTSC - PGDN)
Key swapping Lua Scripts for 9 keys (PRTSC - PGDN) to be NumPad keys (1 - 9) instead.
don't think I ever use these keys unless for something very specific but it can change back with another profile.
Is there anyone who can write this seeing as I have no clue to write noscripts at all. Thanks in advance.
https://redd.it/1h8d9dg
@r_lua
Key swapping Lua Scripts for 9 keys (PRTSC - PGDN) to be NumPad keys (1 - 9) instead.
don't think I ever use these keys unless for something very specific but it can change back with another profile.
Is there anyone who can write this seeing as I have no clue to write noscripts at all. Thanks in advance.
https://redd.it/1h8d9dg
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I can't get this example code from Logitech G HUB Lua API to run
function OnEvent(event, arg)
if (event == "M_PRESSED" and arg == 1 ) then
--M1 has been pressed
end
end
In the console it says loaded
https://redd.it/1h8jzsd
@r_lua
function OnEvent(event, arg)
if (event == "M_PRESSED" and arg == 1 ) then
--M1 has been pressed
end
end
In the console it says loaded
https://redd.it/1h8jzsd
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I wanna start coding LUA, where do I start?
I wanna try to make video games!
https://redd.it/1h8msg0
@r_lua
I wanna try to make video games!
https://redd.it/1h8msg0
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I'm new at noscripting | need help to fix
My Goal: When the Player touches the Part, then BrickColor should change into Red, but in the output is that: BrickColor is not a valid member of Model "Workspace.gy23" - Server - Script:5
and here is the code :
local GS = noscript.Parent
function Playerhit(Hit)
if Hit.Parent:FindFirstChild("Humanoid") then
Hit.Parent.BrickColor = "Red"
end
end
GS.Touched:Connect(Playerhit)
Pls help me to fix this code
https://redd.it/1h8rwzw
@r_lua
My Goal: When the Player touches the Part, then BrickColor should change into Red, but in the output is that: BrickColor is not a valid member of Model "Workspace.gy23" - Server - Script:5
and here is the code :
local GS = noscript.Parent
function Playerhit(Hit)
if Hit.Parent:FindFirstChild("Humanoid") then
Hit.Parent.BrickColor = "Red"
end
end
GS.Touched:Connect(Playerhit)
Pls help me to fix this code
https://redd.it/1h8rwzw
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Is there a way to use a function this way?
My case is very specific:
The api i use doesnt have a native checkbox, slider etc(gui) so i made one on my own, i ran out of locals to use
Is there any way to something like
if Controls"Something" then
otherlua.function
end
Seeing as my noscript on the other lua runs all the time? Is there any way to like call the entire noscript?
https://redd.it/1h926cb
@r_lua
My case is very specific:
The api i use doesnt have a native checkbox, slider etc(gui) so i made one on my own, i ran out of locals to use
Checkbox("Name", "Something", x, y)Is there any way to something like
if Controls"Something" then
otherlua.function
end
Seeing as my noscript on the other lua runs all the time? Is there any way to like call the entire noscript?
https://redd.it/1h926cb
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Learn Lua with EdgeTX api environment
Hi, I want to practice Lua writing EdgeTX noscripts for FPV drone telemetry. I have found a pretty decent documentation for edge tx and Lua . In order to acomplish my task I need to establish a communication with flight controller on my drone wich has betaflight firmware (see MSP communication) . There is a nice lua noscript for communication with betaflight (see here) but for me it is hard to understand how it comminicates with betaflight on byte level. Do you have any small easy to understand examples to dive into it ? Thank you
https://redd.it/1h94jfn
@r_lua
Hi, I want to practice Lua writing EdgeTX noscripts for FPV drone telemetry. I have found a pretty decent documentation for edge tx and Lua . In order to acomplish my task I need to establish a communication with flight controller on my drone wich has betaflight firmware (see MSP communication) . There is a nice lua noscript for communication with betaflight (see here) but for me it is hard to understand how it comminicates with betaflight on byte level. Do you have any small easy to understand examples to dive into it ? Thank you
https://redd.it/1h94jfn
@r_lua
luadoc.edgetx.org
EdgeTX LUA Reference Guide | LUA Reference Guide
I just created blood son of brainfuck and lua
https://github.com/karasaikinsin/Symbolic
https://redd.it/1h95h6k
@r_lua
https://github.com/karasaikinsin/Symbolic
https://redd.it/1h95h6k
@r_lua
GitHub
GitHub - karasaikinsin/Symbolic: Symbolic - program language based on lua. His distinguishing feature is no english/latin simbols…
Symbolic - program language based on lua. His distinguishing feature is no english/latin simbols only nums and other symbols - karasaikinsin/Symbolic
Is there a good way of generating 2D graphics without a game engine?
I want to create something like desmos but only for simple functions (ax\^2 + bx + c). I have created the function that finds the y values for many given x values so the function can be drawn. This is where I have encountered a problem, I don’t know how to generate such graphics. I have tried searching for something but all I found was game engine tutorials that incorporate Lua and not methods of displaying graphics without an engine, as for my application, I find it unnecessary.
https://redd.it/1h9omsv
@r_lua
I want to create something like desmos but only for simple functions (ax\^2 + bx + c). I have created the function that finds the y values for many given x values so the function can be drawn. This is where I have encountered a problem, I don’t know how to generate such graphics. I have tried searching for something but all I found was game engine tutorials that incorporate Lua and not methods of displaying graphics without an engine, as for my application, I find it unnecessary.
https://redd.it/1h9omsv
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Getting error info from custom error handler and xpcall
I’m using xpcall and want to know how to get error info from a custom error handler function.
If I use
I lose the error message itself but I get the trace.
If I use
I get the error message and the trace when I print err.
https://redd.it/1haee9w
@r_lua
I’m using xpcall and want to know how to get error info from a custom error handler function.
Function error_handler()
Print(debug.traceback)
EndIf I use
err, ok = xpcall(func, error_handler) I lose the error message itself but I get the trace.
If I use
err, ok = xpcall(func, debug.traceback)I get the error message and the trace when I print err.
https://redd.it/1haee9w
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Botting in lua
Hello, I was wondering can I create a bot for a game in lua?
By "bot" I mean reading screen, moving mouse and simulating keyboard and mouse input.
I already tried doing this in python, but after spending an entire day trying to install and then debug python libraries I gave up.
I'm open on learning new things.
https://redd.it/1hb82s1
@r_lua
Hello, I was wondering can I create a bot for a game in lua?
By "bot" I mean reading screen, moving mouse and simulating keyboard and mouse input.
I already tried doing this in python, but after spending an entire day trying to install and then debug python libraries I gave up.
I'm open on learning new things.
https://redd.it/1hb82s1
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
FiveM programming
I’m searching about this topic for weeks, and I still didn’t find an answer. I just have some questions about it.
1. What are the best resources to learn FiveM Lua?
2. What’s the best place to learn FiveM Lua?
3. How can I learn FiveM Lua?
4. Do I need courses?
5. How can I learn to solve FiveM errors?
https://redd.it/1hb7kuu
@r_lua
I’m searching about this topic for weeks, and I still didn’t find an answer. I just have some questions about it.
1. What are the best resources to learn FiveM Lua?
2. What’s the best place to learn FiveM Lua?
3. How can I learn FiveM Lua?
4. Do I need courses?
5. How can I learn to solve FiveM errors?
https://redd.it/1hb7kuu
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How do i split my lua?
So as i want to split my lua, regardless of how necessary it is to split it, i want to split it to learn how to do this, my problem is that my lua consists of a menu entirely self coded due to the api im working in and due to this:
\- I want to split the lua into multiple pieces i can use the same way
My problem:
\- Every single part of the lua is linked to the menu
For example:
local current_time = Controls["TimeDisplay"] and string.format("Time: %s ", os.date("%H:%M:%S")) or ""
How do i split this part of the code into another lua, the controls is a local and TimeDisplay is a variable inside a checkbox structured like this:
`Checkbox("Show Time", "TimeDisplay", posX, posY)`
https://redd.it/1hcv8a8
@r_lua
So as i want to split my lua, regardless of how necessary it is to split it, i want to split it to learn how to do this, my problem is that my lua consists of a menu entirely self coded due to the api im working in and due to this:
\- I want to split the lua into multiple pieces i can use the same way
My problem:
\- Every single part of the lua is linked to the menu
For example:
local current_time = Controls["TimeDisplay"] and string.format("Time: %s ", os.date("%H:%M:%S")) or ""
How do i split this part of the code into another lua, the controls is a local and TimeDisplay is a variable inside a checkbox structured like this:
`Checkbox("Show Time", "TimeDisplay", posX, posY)`
https://redd.it/1hcv8a8
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Trying to add a HTTP POST to existing code. HTTP not found. Socket.lua not found
First off I have never worked with LUA before. I am modifying an existing application. The game is IKEMEN GO. IKEMEN GO . All I have to do is add in a HTTP POST. That is it. I found the spot where I need to add the code. I added the code and the problems started. From my understanding LUA doesn't come with anything for HTTP and has to be added / installed / complied (not sure what to call it).
I am on Windows 10 using VSCode with LUA extension.
I reached out to the IKEMEN group and was told it was beyond scope but any library for LUA 5.1 will work. I assume there is a HTTP library???? I did not install anything dealing with LUA. The game comes with a CMD file. I click the file everything works. There are some noscripts to run beforehand but my understanding those are for GO and not LUA.
I downloaded LUA 5.1 and installed it (I think so, I have source code and binaries). After searching around I found some HTTP.lua files on the net. They didn't seem to work with what I have. I then found I could run luarocks install HTTP or maybe it was luahttp, I can't remember. That didn't work. I don't remember the errors but I gave up on it a few days ago. I then found luarocks install luasocket. Here are the errors I got.
https://preview.redd.it/7td2wgg49h6e1.png?width=1906&format=png&auto=webp&s=59bf14abfc8d6eae2b665b3fbb409ca12b91f547
I looked up and it looks like msys64 isn't installed correctly. I uninstalled it and installed it again and got the same errors. I am out of ideas. This should have been a few simple lines of code and is turning into a multiday nightmare.
In my Lua 5.1 folder I have a socket folder and http.lua and a few other files. Although socket.lua requires socket.core which I do not have. Thanks for any help.
https://redd.it/1hcun7d
@r_lua
First off I have never worked with LUA before. I am modifying an existing application. The game is IKEMEN GO. IKEMEN GO . All I have to do is add in a HTTP POST. That is it. I found the spot where I need to add the code. I added the code and the problems started. From my understanding LUA doesn't come with anything for HTTP and has to be added / installed / complied (not sure what to call it).
I am on Windows 10 using VSCode with LUA extension.
I reached out to the IKEMEN group and was told it was beyond scope but any library for LUA 5.1 will work. I assume there is a HTTP library???? I did not install anything dealing with LUA. The game comes with a CMD file. I click the file everything works. There are some noscripts to run beforehand but my understanding those are for GO and not LUA.
I downloaded LUA 5.1 and installed it (I think so, I have source code and binaries). After searching around I found some HTTP.lua files on the net. They didn't seem to work with what I have. I then found I could run luarocks install HTTP or maybe it was luahttp, I can't remember. That didn't work. I don't remember the errors but I gave up on it a few days ago. I then found luarocks install luasocket. Here are the errors I got.
https://preview.redd.it/7td2wgg49h6e1.png?width=1906&format=png&auto=webp&s=59bf14abfc8d6eae2b665b3fbb409ca12b91f547
I looked up and it looks like msys64 isn't installed correctly. I uninstalled it and installed it again and got the same errors. I am out of ideas. This should have been a few simple lines of code and is turning into a multiday nightmare.
In my Lua 5.1 folder I have a socket folder and http.lua and a few other files. Although socket.lua requires socket.core which I do not have. Thanks for any help.
https://redd.it/1hcun7d
@r_lua
MUGEN Database
Ikemen | MUGEN Database | Fandom
Ikemen (short for Itsumademo Kanseishinai Eienni Mikansei ENgine) is a free and open-source fighting game engine designed to be compatible with M.U.G.E.N content, while also expanding on its...
Someone teach me this
Alright, so I’ve been coding for this game called Ark: Survival Evolved using Beacon. It’s not really heavy coding or anything, but I’ve been able to make a decent amount of money from it. The thing is, Ark is dying pretty fast, and I feel like there are better opportunities out there.
I’ve done some research and talked to a few people, and they all suggested switching over to Roblox. Apparently, it’s huge right now. Roblox uses Roblox Studio, and the coding language is Lua.
So here I am, trying to figure out how to get started or even how to get better at this. If anyone can help point me in the right direction, that’d be awesome.
https://redd.it/1hcykr4
@r_lua
Alright, so I’ve been coding for this game called Ark: Survival Evolved using Beacon. It’s not really heavy coding or anything, but I’ve been able to make a decent amount of money from it. The thing is, Ark is dying pretty fast, and I feel like there are better opportunities out there.
I’ve done some research and talked to a few people, and they all suggested switching over to Roblox. Apparently, it’s huge right now. Roblox uses Roblox Studio, and the coding language is Lua.
So here I am, trying to figure out how to get started or even how to get better at this. If anyone can help point me in the right direction, that’d be awesome.
https://redd.it/1hcykr4
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Luon: a simple, statically typed programming language for LuaJIT
https://github.com/rochus-keller/Luon/blob/master/Readme.md
https://redd.it/1hdap3i
@r_lua
https://github.com/rochus-keller/Luon/blob/master/Readme.md
https://redd.it/1hdap3i
@r_lua
GitHub
Luon/Readme.md at master · rochus-keller/Luon
A compiler and IDE for the Luon programming language - a liaison beween Lua and Oberon+ - targeting LuaJIT - rochus-keller/Luon