MrJ77 Posted June 23, 2022 Share Posted June 23, 2022 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 More sharing options...
HorridModz Posted June 23, 2022 Share Posted June 23, 2022 What is the error? It is working fine for me. Link to comment Share on other sites More sharing options...
Question
MrJ77
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
Archived
This topic is now archived and is closed to further replies.