Jump to content
  • 0

Error in my script


MrJ77
 Share

Question

This is my script

I dont know whats wrong in my scriptūüėÖ

gg.alert("Mr.J\nDynamons 2 Script", "Oke")

gg.toast("Mr.J")

while true do

  if gg.isVisible(true) then

     menuk = 1

     gg.setVisible(false)

   end

   START = 1

   function START()

   menu = gg.choice({

    "Koin",

       "Keluar"

       }, nil, "Script Ini Dibuat Oleh Mr.J")

       if menu == 1 then

          ch1()

        end

       if menu == 2 then

           os.exit()

        end

       if menu == nil then

       else

       end

       menuk = -1

     end

     

     function ch1()

     prompt = gg.prompt({[1]="Nilai Koin Sekarang"}, {}, {"number"}) gg.searchNumber(prompt[1], gg.TYPE_DWORD)

     gg.getResults(100)

     prompt = gg.prompt({[2]="Nilai Koin Sekarang Yang Sudah Berubah"}, {}, {"number"}) gg.refineNumber(prompt[2], gg.TYPE_DWORD)

     gg.getResults(100)

     prompt = gg.prompt({[3]="Nilai Koin Yang Di Inginkan"}, {}, {"number"}) gg.editAll(prompt[3], gg.TYPE_DWORD)

     gg.clearResults()

     gg.toast("Thanks For Using My Script")

     gg.alert("Jangan Buru² Buat Beli, Selesaikan Semua Tutorialnya Dulu Biar Ga Ngebug", "Oke")

     end

     

 

    if menuk == 1 then

       START()

     end

   end

     

     

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.