Any possible way to script with C# in studio?

Title says it already.

Any way to script with C# in studio? Maybe like a plugin or something?

1 Like

You would have to create your own parser for lua to C#.

1 Like

How does that work? I’ve never heard of a parser before.

Basically you have to create program that turns C# code into a Luau code because there is no program that does what you want at the moment. There is a TypeScript version but that’s it.

1 Like

I am not too knowledgeable on the subject of creating a compiler for another language. But basically it makes the C# to be able to run in lua.

1 Like

Oh damn I can make myself a challenge; create a parser. I’ll try and thank you!

im not sure if C# can be compiled to dll. If thats the case then try compile your code to dll and then let lua use that dll. This might be really hard to make it work properly but once you make it work you can make your codes on C# side and then just use the lua to execute the dll.

Yeah, basically like a compiler that would compile from C# to Lua. But Roblox has a proprietary version of Lua which makes it pretty hard to convert because stuff like API’s, The workspace, And roblox services don’t exist in C#