Search the Community
Showing results for tags 'robot colony'.
-
I'm new to this area, I'm creating a basic script for the game called "robot colony", I can change the energy values without any problems, but when I change the value of the ore ( minério ), it ends up changing the energy ( energia ) value... code: function start() gg.alert(" YOO V1 " ) menu = gg.choice({"ENERGIA", "MINÉRIO", "SAIR"}, nil, "MENU PRINCIPAL") if menu == 1 then local offsetenerg = "7BDF23F948" local tipooffset1 = gg.TYPE_DWORD busca1 = gg.searchNumber(offsetenerg, tipooffset) resultado = gg.getResults(5) alt = gg.prompt({"ESCOLHA PARA QUANTO DESEJA MUDAR"}, {""}, {"number"})[1] gg.editAll(alt, tipooffset1) gg.toast("Energia alterada com sucesso!") end if menu == 2 then local offsetmin = "7BDF23F94C" local tipooffset2 = gg.TYPE_DWORD busca2 = gg.searchNumber(offsetmin, tipooffset2) resultado2 = gg.getResults(5) alt2 = gg.prompt({"ESCOLHA PARA QUANTO DESEJA MUDAR"}, {""}, {"number"})[1] gg.editAll(alt2, tipooffset2) gg.toast("Minério alterado com sucesso") end end while true do if gg.isVisible(true) then gg.setVisible(false) start() end end