How is it possible to get the response status code of a request using lua-http ? If that is not possible with it what module/library should i use ?
I'm working on a game with my friend, and we are making an object move around a house and go to random points. The thing is, if it moves higher up on the X axis
i am trying to make a script for logitech mouse that : when i aim on a game mouse 3 and press fire the mouse goes fast down for about 0.5 secs and the rest of t
New to Lua/Game dev in general here. I'm trying to write a code to draw the background of my game. I have four different spritesheets for things related to sett
How i can do something like that and fix this (i learn script) local Event = game.ReplicatedStorage.SoundPlayEventWirlord Event.OnServerEvent:Connect(function(
im playing roblox and i wanna make a script so when you sell your capacity your money goes up by that amount. ill provide all scripts below. local MaxCapacity =
im playing roblox and i wanna make a script so when you sell your capacity your money goes up by that amount. ill provide all scripts below. local MaxCapacity =
So i have a url like so https://example.com/path/to/file/file.mp4/file.jpg I want to match only the first provided file extension provided not any others peo
I'm trying to open a game with Love2D and the following error occurs: Error boot.lua:577: Cannot load game at path '/home/panali/Desktop/Lua.love/ma
My short key help is not tall enough to show all my shortcuts. Mod4 + s is the default binding to see the short cuts, when I use it I can see that the list is c
I have a problem with my minecraft timer script I tried to add a function that saves the time values from worlds in a document. The timer worked completly fine
How to filter a Lua array inplace? For example, having an array of { 1, 5, 7 } and a function function(elem) return elem > 1 end, the inplace filtering func
I am trying to write a function that finds the first .waste dir in one of the parent dirs (e.g. .. ../.. ../../..). For this I need to see if the dir exists. F
Is there a way to choose the result(s) I want from a function that returns multiple results . E.g. local function FormatSeconds(secondsArg) local weeks = m
So this is the error I have been getting: Game.lua:66: attempt to index global 'Spears' (a nil value) stack traceback: Game.lua:66: in
I want to make a command that would kill a player you specify.. Let's say I type: kill/Paul. Now I want to kill the player with the name Paul. This is my comman
I have a book that I am moving from the Bookdown toolchain to Quarto. Very simply, both tools generate a book from flavoured markdown using Pandoc. Pandoc allow
The default lua_pcall error handler (as of Lua 5.3) does nothing, letting the exception message remain on top of the stack. We would like to change this so we g
I am going to send a byte array through socket.But I used to work in c/c++ and be new to lua. Now i have a problem,here is my question. i want to send a bytear
I am trying to run a lua script which eventually returns a lua table, then convert it as java Map with Spring Data Redis. When the result is array style lua tab