Jump to content
Sign in to follow this  
ZTzTopiaa

Give me compiler

Recommended Posts

please give me compiler i cant compile my script 😞

Share this post


Link to post
Share on other sites

Compiler:

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...