MoonSec V3 Lua Decompiler

Here is the decompiled Lua source code:

local function dildozv()
  local function main()
    while not isSampAvailable() do wait(0) end
    sampRegisterChatCommand("ah", function()
      local attempts = 0
      while attempts < 3 do
        local input = sampGetInputInfoPtr()
        if input == "DILDO" then
          sampAddChatMessage("ARE YOU FUCKING GENIUS??", -1)
          break
        else
          attempts = attempts + 1
          sampAddChatMessage(string.format("Вы неправильно ввели ключ (Попыток %d/3)", attempts), -1)
        end
      end
      if attempts == 3 then
        sampAddChatMessage("ваша задача угадать ключ и буде работать телепортатор", -1)
      end
    end)
    
    while true do
      wait(0)
    end
  end

  lua_thread.create(function()
    math.randomseed(os.time())
    print(math.random(999999999, 9999999999))
  end)

  main()
end

dildozv()

This script appears to be for a game mod or cheat, likely for GTA San Andreas with SA-MP multiplayer mod. It adds a chat command "ah" that gives the player 3 attempts to guess a secret key ("DILDO"). If guessed correctly, it implies some teleporter functionality would be unlocked.

The script also creates a separate thread that prints a random number, though this doesn't seem to be used elsewhere in the code.

Explore More MoonSec Tools:

Disclaimer: This decompiler is for educational purposes only. Please respect software licenses and copyrights.