Shiko5303

Download

May 14th, 2025 (edited)
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.09 KB | None | 0 0
  1.     local choice = gg.choice({"Check current version Block Strike", "Back"}, nil, "Chose:")
  2.  
  3.     if choice == 1 then
  4.         gg.sleep(1000)
  5.  
  6.         local versions = {"🟢4391"}
  7.         local links = {
  8.             "https://www.mediafire.com/file/8aiqia9fa8xzqkp/Block+Strike_7.10.0.apks/file"
  9.         }
  10.  
  11.         local versionChoice = gg.choice(versions, nil, "Found: 1")
  12.  
  13.         if versionChoice then
  14.             local versionName = versions[versionChoice]
  15.             local selectedLink = links[versionChoice]
  16.             if gg.copyText then
  17.                 gg.copyText(selectedLink)
  18.                 gg.toast("Link copied to clipboard.")
  19.             end
  20.             local filePath = "/sdcard/Documents/Download" .. versionName .. ".txt"
  21.             local file = io.open(filePath, "w")
  22.             if file then
  23.                 file:write(selectedLink)
  24.                 file:close()
  25.             else
  26.                 gg.alert("Failed to save file.")
  27.             end
  28.         else
  29.             gg.toast("No version selected.")
  30.         end
  31.     else
  32.         gg.toast("Back selected.")
  33.     end
Add Comment
Please, Sign In to add comment