Transfer code from any text editor to Roblox

Hello, Today I will be showing you how you can transfer code from any text editor to Roblox for this we need to download node.js Download after finishing the installation create a folder called luacode on the desktop now open your text editor in this case I am using a text editor called sublime 3 Download create file called package.json in luacode folder and type this

{

}

Now open command prompt

And type

cd desktop
cd luacode

It should look something like this


After that type this following commands

npm i express
npm i path

After installing these packages your package.json file should look like this image

After that create new file called index.js in luacode folder and put this code in it

const express = require('express')
const app = express()
const port = 3000
const path = require("path")

app.get('/', (req, res) => {
	res.sendFile(path.join(__dirname + '/start.lua'));
})

app.listen(port, () => console.log(`Example app listening on port ${port}!`))

now create file called start.lua in luacode folder and create another file called start.bat in luacode folder in start.bat type this code start node index.js and in start.lua type local x = 1
Now your folder should look like this image now double click the windows batch file
You should get message like this
image
Now if we open browser and type http://localhost:3000
We will see our start.lua source on the website

Now install a plugin that I made Plugin

In first element pick a number between 1 and 2
In second element type our port id for us it is 3000
image
Now pick a script which you want to edit and press X
image
You will see that example.path.script changed to the script path
image
And now you are ready to go press the button and Bam

I made this under a day so if there is any error in the plugin, please let me know in this post.
The idea was originally made by @badcc but he never gave out the code or showed little bit of example script ROBLOX Studio Script Auto-Refresh - YouTube

~~Luka

4 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.