Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local choice = gg.choice({"Check current version Block Strike", "Back"}, nil, "Chose:")
- if choice == 1 then
- gg.sleep(1000)
- local versions = {"🟢4391"}
- local links = {
- "https://www.mediafire.com/file/8aiqia9fa8xzqkp/Block+Strike_7.10.0.apks/file"
- }
- local versionChoice = gg.choice(versions, nil, "Found: 1")
- if versionChoice then
- local versionName = versions[versionChoice]
- local selectedLink = links[versionChoice]
- if gg.copyText then
- gg.copyText(selectedLink)
- gg.toast("Link copied to clipboard.")
- end
- local filePath = "/sdcard/Documents/Download" .. versionName .. ".txt"
- local file = io.open(filePath, "w")
- if file then
- file:write(selectedLink)
- file:close()
- else
- gg.alert("Failed to save file.")
- end
- else
- gg.toast("No version selected.")
- end
- else
- gg.toast("Back selected.")
- end
Add Comment
Please, Sign In to add comment