Jump to content
  • 0

Upload script to server


Kirito007
 Share

Question

2 answers to this question

Recommended Posts

  • 0
On 10/21/2022 at 8:45 PM, Kirito007 said:

How to make script upload script to server with lua?

Hi! You can upload a script using gg.makeRequest() feature:

gg.makeRequest(your_link, nil, your_script)
gg.makeRequest('https://pastebin.com/api/api_post.php', {['User-Agent']='ggRequest/1.0'}, 'api_paste_code=gg.command_here')
  • Use single quotes ('') in gg.makeRequest(), if your script contains double-quotes ("")
  • If your script contains both, change all of the quotes into one of the choice.
  • Recommended to convert your LUA script into One-Liner using: Lua Minifier
Link to comment
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
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.