Jump to content
  • -1

Hosting script


hacker6999

Question

Posted

So I want to create a script which I can control from a website like GitHub. It won't be an ordinary script as we are able to control it from a website.by this we can add more hacks or stuff in it. 

So do anyone have a template for it?

1 answer to this question

Recommended Posts

Posted
-- First skript on client side
.....
local data = gg.makeRequest(Your URL for second script).content
if data == nil or data == '' then
gg.alert(' Need Internet access')
os.exit() end
local Load = load(data) -- Your can use pcall
Load() -- start donloaded second script


-- Second script downloaded from server
-- Yor can change # of scrips in server side only
-- Without change first script on client side
.....
local a, data, Load
a = g.choice(
{
'Script for Game #1',
'Script for Game #2',
.....
'Script for Game #XX',
 }, 
 nil, ' Select script '
)
if a == nil then
	g.alert(canc2) g.clearResults() g.setVisible(true) os.exit() end

if a == 1 then
data = gg.makeRequest(Your URL for script game #1).content
Load = load(data)
Load() -- start donloaded script
end

if a == 2 then
data = gg.makeRequest(Your URL for script game #2).content
Load = load(data)
Load() -- start donloaded script
end
....
if a == XX then
data = gg.makeRequest(Your URL for script game #XX).content
Load = load(data)
Load() -- start donloaded script
end
....

 

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.