cumasukacit Posted April 24, 2019 Share Posted April 24, 2019 how to make script encrypted script ? Link to comment Share on other sites More sharing options...
maulz Posted April 24, 2019 Share Posted April 24, 2019 while true do local sel = gg.prompt({"Select file:"}, {gg.getFile()}, {"file"}) if not sel then break else local file = loadfile(sel[1]) if file ~= nil then local out = sel[1] .. ".bin" local test = io.open(out, "w") test:write(string.dump(file, true)) test:close() gg.alert("Success!\nFile saved: "..out) break else gg.alert("Cannot load file!") end end end You can improve it by yourself Link to comment Share on other sites More sharing options...
cumasukacit Posted April 27, 2019 Author Share Posted April 27, 2019 On 4/25/2019 at 3:45 AM, maulz said: while true do local sel = gg.prompt({"Select file:"}, {gg.getFile()}, {"file"}) if not sel then break else local file = loadfile(sel[1]) if file ~= nil then local out = sel[1] .. ".bin" local test = io.open(out, "w") test:write(string.dump(file, true)) test:close() gg.alert("Success!\nFile saved: "..out) break else gg.alert("Cannot load file!") end end end You can improve it by yourself it works, thank you Link to comment Share on other sites More sharing options...
Question
cumasukacit
how to make script encrypted script ?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.