How would I put a script into a part and edit it with Rojo without it trying to delete the entire workspace?
You’ll have to write the parts directory into the rojo JSON file. This can be done pretty easily by observing how other paths are written to, i.e server within ServerScriptService, however you’ll have to add to the tree and then write it’s path. It should look something like this:
"ReplicatedStorage": { -- Make this into wherever the part is
"PartScript": {
"$path": "src/partScriptHere"
}
},
Do note that having multiple scripts referenced like this will get messy.
2 Likes
That’s exactly why I was hoping there would be a better way to do it. Thanks anyway!