How to parent a script onto another script using rojo vscode

image

like this

how would you do this in the json file?

does anyone have a answer for this?

Download the extension and follow the steps, haven’t tried it yet but I’m sure it’ll work

What you can also do is create a folder to represent the parent script. Inside it, have a file named init.lua or init.server.lua or init.client.lua; the point being the name must be init. That’s the file that’ll be used as the parent script in Roblox. Then you can put other files in this folder that will be the children of the script in Roblox.
image
For example this would create a module script called ‘Round’ with a module script parented to it named ‘TDM’

21 Likes