With open do you mean use the other script? require()
?
ok this is not work bye
Try this:
local Script = Instance.new("Script", Sel:Get()[1])
Script.Name = “MyScript”
Script.Source = Message.Text
plugin:OpenScript(Script)
It is exactly what I have been telling you to do but you clearly don’t understand how to code or are just too lazy to do it yourself.
the reason you’d do plugin:OpenScript(Script)
and not Script:OpenScript()
is because the first argument passed in OpenScript(script you want to open)
is the script you want to open. Read the creator documents @LifeDigger sent.
try this:
local Script = Instance.new(Script, Sel:Get()[1])
Script.Name = "MyScript"
Script.Source = Message.Text
plugin:OpenScript(Script)