[v1.3.Stable] Roblox Luau Global Variable Fetcher

Roblox Luau Global Variable Fetcher

A barebone implementation of searching ASCII strings in Roblox Studio executable to create a list of possible built-in Luau globals.

Why does this exist?

Recently, I was creating a list of Luau globals every version update manualy to update another repository and doing the entire process by hand by hand was starting to become irritating.

So I search the internet and found matthewdean’s implementation on the matter.

However, despite trying quite a bit, I couldn’t get his code working and there were a few other thing with his implementation that made me uncomfortable:

  1. Source code included an executable file named Strings.exe that I couldn’t find the actual source code for.

  2. It was last updated back in 2015. Which means it was rather unlikely that author was going to update it anytime soon.

So with these facts in mind, I decided to write one for myself. After writing the program, I decided to make the program public so everyone can benefit from it for it’s rather niche use case.

How to download it?

You can go to the released tab and *download the executable file from the latest stable release.

(You can also download the pre-release one (If there is one.) if you’re feeling a little bit more brave.)

  • You can also copy the source code from src folder and build the executable yourself if you know how to do so.

How do I use it?

You can read the instructions from this README.md file here.

Can I create issues/pull request?

Yes. You can post your bugs and suggestions in issues tab. You can also propose changes by creating a pull request. You can ask questions about the program by directly messaging me or on Roblox Devforum Post down below.

Links

Repository Page:

My Twitter (To ask questions about the program directly.):
https://twitter.com/BenMactavsin

6 Likes

May I ask why you would ever need Global variables? local variables would and are 10x better to use IMO.

1 Like

Im not accusing you of anything. But why do I have to download a random .exe and a random .XML? You can get my account cookie using those types of files. Or even worse, ruin my whole computer! So why should I download these?

1 Like

I was talking about the built-in globals (Like workspace, game, utf8, ect.) that comes with Roblox’s version of Luau. Currently, just using getfenv returns you an empty table so you need to either go through the autocomplete in script editor (which requires a bit of work and time) or implement a program like this to get a list of built-in globals.

Okay, I see, also you could just roblox to group everything together as a model, and not use a .XML file… seems sus man.

sussy. someone needs to try it in a virtual box and if there’s any sussy activity this virus , else they can confirm it’s safe

1 Like

You don’t have to download the executable file, it’s just there for convenience. You can just check and copy the source code and build the executable file yourself if you feel like it on Visual Studio.

Also I don’t know how can one even steal your cookie from a Roblox XML model file.

1 Like

exe can read har files which contains .ROBLOSECURITY cookie???

1 Like

I don’t think clicking on that link is a safe option… even though it could go to the actual github site, I still wouldn’t trust it.

exe’s can also completely ruin your computer. I wouldn’t recommend that anyone downloads this.

2 Likes

I was talking about the “a random .XML” part of that post. I already understood that he/she wasn’t comfortable downloading an .exe file, that’s why I said he/she can check the source code himself/herself and build the executable himself/herself on his/her computer.

If you run administrator perms. That applies to that reading har file thing too I think. So if it dosent ask for administrator perms it might be safe

still, it could be a virus, deletes programs, steal .RobloxSecurity, insert sus programs without my permission, or just ruin my computer. As theres some viruses that dont need administrator perms. For example, a year or 2 ago youtubers were getting their youtube acc hacked since they excecated a .exe and it stole their youtube cookie. So if a .EXE can steal a youtube cookie it sure can steal a roblox cookie.

I’ve never heard things like this before, if you try batch(command prompt language), you can’t delete files without perms

1 Like

oh i didn’t know that. But what I mean is, it can still do harm like getting cookies from my browser. Thanks for the information tho

lol, if you guys are not sure about this, then just ignore xd what’s the problem here

That might be true since when I try to read a file with batch, no perms needed.

virtual box time

…?

Why would clicking on a link, that you can see goes to Github, not be safe? There are plenty of websites that can also show you if there is a link redirect. But, if you’re worried about clicking on the link, how do you justify clicking on any link online - same logic, right?


This thread is devolving into fear-mongering.

There are many complaints/suspicions being raised, currently by @kinglol123468 @regexman @Modxno

OP has also provided the source code for everyone to see. As has been mentioned, you can create the exe yourself with the source code. At this point, this is just unproductive and frankly unfounded worry, if you are raising complaints/accusing OP of malicious behavior without anything to support it.

If you see something legitimately concerning in OPs source code, by all means, point it out.

However, if there is not anything, this is needlessly creating skepticism and concern that is based on pure speculation without anything to back it up.

You cannot just wildly speculate along the lines of “it’s an exe file - it might be harmful!”. Yes, it could be, but you have access to the source code, i.e., you can see exactly what it does. Again, if you see something bad in there, please point it out. If you don’t though, stop posting unfounded speculations and worries that aren’t backed up by anything remotely specific to the topic. Otherwise, you are potentially scaring people away from a positive and helpful resource based on zero factual basis.

Please do not do this.

12 Likes

Thank you for bringing up these points. My only question is, how do I see the source code? I don’t see an option to on github. Sorry if this is a stupid question, I don’t use GitHub often.

1 Like

The source code is located inside the src folder.
src/ConsoleApp1/Program.cs to be exact.
image

5 Likes