Jump to content
  • 0

I want set licence key for my script


Darkness442

Question

2 answers to this question

Recommended Posts

8 hours ago, Darkness442 said:

hello 

I want know how can set licence key to my script and if it set a wrong licence the script stop working 

thank you 

If i got you right:
Just use prompt to input some data, then compare it with original one.

local var = gg.prompt({'Enter license code'}, nil, {'text'})
if var ~= "license_code" then os.exit() end

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.