How can i change C# to Lua?

Hello so i was wondering if it is possible to change unity scripts to roblox studio scripts and if it’s possible if so, how?

You’d have to do it manually. The problem (apart from the fact that the syntax is different) is that Unity has different functions. All in all, you just have to rewrite it.

1 Like

Well if you understand whats going on in the C# just convert it to lua

2 Likes

Oh okay thanks for replying i actually never coded anything in C#

Then itll probably be harder to convert it into lua

You can accomplish it manually if you know both C# and Lua. You could also pay someone to do it manually for you, but that would be very expensive due to the amount of effort involved.

1 Like

I remember someone actually made something to convert it but I’m not 100% sure il try to find the post

1 Like
2 Likes

Converting unity functions into roblox luau scripts really?

Is that even possible?

1 Like

It was like this but a script or something How can i change C# to Lua? - #8 by Xapelize
i don’t remember to be exact as this was in 2020

2 Likes

So you meant this one? https://yanghuan.github.io/external/bridgelua-editor/index.html

It does not optimize code, unfortunately. It just translates C# to Lua.

2 Likes

Yeah it was something like that but with a diffrent ui how did you get the sources?

1 Like

I am not going to put too many links but I literally just searched up “C# to Lua” in Google

1 Like

This was what i was looking for not an exact translation but solves what i need Appreciated this goes out to all people who replied as well!

1 Like