Advertisement
Guest User

Login Lua Sc

a guest
Sep 23rd, 2019
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.35 KB | None | 0 0
  1. function Register()
  2. Variable ={}
  3. Variable["RegisterURL"] = "https://serdadugaming.000webhostapp.com/Register.php"
  4. SrdXOne = gg.prompt({"[ 👤 ] Username","[ 🔒 ] Password","[ 🗝 ]ConfirmPassword","❌ Back ❌"},nil,{"text","text","text","checkbox"})
  5.  if not SrdXOne then
  6.  return
  7.  end
  8.  if SrdXOne[4] then
  9.  return
  10.  end
  11.  
  12.  
  13. Variable["TempRegister"]  = '{"Username":"'..SrdXOne[1]..'","Password":"'..SrdXOne[2]..'","ConfirmPassword":"'..SrdXOne[3]..'"}'
  14. ResponseContent = gg.makeRequest(Variable["RegisterURL"],nil,Variable["TempRegister"]).content
  15. if not ResponseContent then
  16. gg.alert('📤 Check Your Connection📤')
  17. print("⚠ Something Went Wrong ⚠")
  18. os.exit()
  19. else
  20. pcall(load(ResponseContent))
  21. end    
  22. end
  23.  
  24. function Login()
  25. Variable = {}
  26. Variable["LoginURL"]= "https://serdadugaming.000webhostapp.com/Login.php"
  27. SrdXTwo = gg.prompt({"[🕵] Username","[ 🔐 ] Password","❌ Back ❌"},nil,{"text","text","checkbox"})
  28.  if not SrdXTwo then
  29.  return
  30.  end
  31.  
  32.  
  33.  if SrdXTwo[3] then
  34.  return
  35.  end
  36.  
  37. Variable["TempLogin"]  = '{"Username":"'..SrdXTwo[1]..'","Password":"'..SrdXTwo[2]..'"}'
  38. ResponseContent = gg.makeRequest(Variable["LoginURL"],nil,Variable["TempLogin"]).content
  39. if not ResponseContent then
  40. gg.alert('📤 Check Your Connection📤')
  41. print("⚠ Something Went Wrong ⚠")
  42. os.exit()
  43. else
  44. pcall(load(ResponseContent))
  45. end    
  46. end
  47.  
  48. while true do
  49. C = gg.choice({"📤Register","📥Login","❌ ᎬxᎥᏆ ❌"},0,os.date("%A %d %B %Y - [Script v15]\n●▬▬▬▬▬▬๑۩۩๑▬▬▬▬▬▬● \n      ꧁『Serdadu GaminG』꧂ \n●▬▬▬▬▬▬๑۩۩๑▬▬▬▬▬▬●\n      《༺Login In Your Name༻》"))
  50. if not C then gg.toast("Created By Serdadu GaminG😎") return  end
  51. if C == 1 then
  52. Register()
  53. end
  54. if C == 2 then
  55. Login()
  56. end
  57. if C == 3 then
  58. local t = gg.alert("Do You Want Exit Script?", "Yes", "No")
  59. if t == 1 then
  60. print(os.date("📅%A %d %B %Y   ⏰%H:%M%p"))
  61. print("█▀▀█ █▀▀█                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    █▄▄▄ █    ▄▄                                                                                                                                                                                                                                                                                                                                                                                                                                                        ▄▄▄█ █▄▄█ ")
  62. print("➥ Script v15 For Free Fire 1.39.x")
  63. print("➥ ʟɪᴋᴇ & sᴜʙsᴄʀɪʙᴇ")
  64. print("➥ ʏᴏᴜᴛᴜʙᴇ : Serdadu GaminG")
  65. print("➥ ɪɴsᴛaɢʀaᴍ : Aripannur_27")
  66. print("➥ ᴛᴇʟᴇɢʀaᴍ : SerdaduGaminG")
  67. print("             〖 ᴹᴾᴳ•ᎢᎬᎪᎷ 〗")
  68. gg.toast("Bye Bye..... See You Next Time 😎🖐")
  69. os.exit()
  70. end
  71.  
  72. if t == 2 then end
  73. end
  74.  
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement