Using code from Love2D?

Well like I said Love2D and Roblox both use Lua so the code will or should mostly work because it’s the same language I’m probably gonna have to adjust some things and that’s the issue I’m not sure if the things I have to adjust will make make it all useless.