Assuming it's the Source of the script you wish to edit, not the actual font of the script-editor.
You can edit the Source of a script by accessing it through the Source-property (script.Source).
It's important to note that regular scripts do not have the security clearance to set .Source anymore, but plugins (and commandline(?)) do.
I assume you want to replace the default "Hello world!"-print, so I made an example of how you could achieve that.
01 | mySource = "-- This script was edited with ChipioIndustries' plugin. " |
02 | replaceTemplate = [[print 'Hello world!'\n]] |
05 | game:GetService( "ServerScriptService" ).ChildAdded:connect( function (child) |
06 | if child:IsA( "BaseScript" ) or child:IsA( "ModuleScript" ) then |
07 | if child.Source = = replaceTemplate then |
08 | child.Source = mySource |
HOWEVER, if you did mean to edit the font, you can take use of settings(). I'll post back with results if I find anything further.