Jump to content
  • 0

Help me fix code


Yanik

Question

After using this code, I keep getting Restart Script error, where did I go wrong?

if _G.debug.getinfo(gg.alert).source == "=[Java]" then

  else

  gg.alert("⚠️Error 94: Auto Decompiler Detected!⚠️","")

    print("⚠️Error 94: Auto Decompiler Detected!⚠️")

    return

  end

a = {}

for SRD1_5_ = 1, 400000 do

  table.insert(a, {

    address = 0 + SRD1_5_,

    flags = 4,

    values = 0

  })

end

t1 = os.time()

for SRD1_5_ = 1, 6 do

  gg.removeResults(a)

end

gg.clearList()

t2, a = os.time(), "⚠️Error 37: Restart Script⚠️"

if t2 < t1 then

gg.alert("⚠️Error 28: Time⚠️","")

print("⚠️Error 28: Time⚠️")

  return

end

if os.difftime(t2, t1) < 5.6 then

  print(a)

  return gg.alert(a, "")

end

if tostring(os):find("@") then

  gg.alert("⚠️Error 12: Stop Using Compiler!⚠️", "")

  print("⚠️Error 12: Stop Using Compiler!⚠️")

  return

end

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.

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