Answers for "how to run lua file"

Lua
0

lua run string as code

a = 1
local f = loadstring "print(a)"
f() --> 1
Posted by: Guest on August-17-2021
0

run a function in lua

local function GoodFunction() --Replace GoodFunction With Your Function Name
	--Your Script Here
end

GoodFunction() --Replace GoodFunction Wiht Your Function Name
Posted by: Guest on December-09-2021

Browse Popular Code Answers by Language