How do I use Script.Source properly??
I'm creating a Plugin for roblox studio that writes a simple script and puts it in ServerScriptStorage. However, I'm having trouble getting it to work the way I want it too.
This is what I have so far...
1 | Script.Source = [ = = = = [ local [ "game.Workspce.Part.Name" ] = game.Workspace.Part |
and when I use the plugin the output in ServerScriptStorage is this...
1 | local [ "game.Workspace.Part.Name" ] = game.Workspace.Part |
but I want ["game.Workspace.Part.Name"] to be the acually name of the part like this...
1 | local PartName = game.Workspace.Part |
Is there a way I can make ["game.Workspace.Part.Name"] not be read as a string?