Categories > Coding > Lua >
How would I get the constants via a script variable
Posted
So if I have a script that was like this: local script = [[
]]
how would I make it so it makes a table of all the constants that are in the script for the "script" variable? If you are willing to help me on discord, add me @Jahman808#3721
the constants need to be in order in the table as if your got the constants from the scripts instructions
Replied
are you talking about tables? or arrays in c# but this is lua so I guess it's tables
Cancel
Post
Replied
The constants are the table values themselves, you just iterate through it lol.
table.foreach(script, print)
Cancel
Post
Replied
@0x90 I'm trying to make a system like this and it is inspired by open gamer tips cuz he made it and I saw it and I was like "I could use that system to make my obfuscator" and this is what I'm trying to make https://ibb.co/BKvg92b
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post