Jump to content
  • 0

Login Always turns out wrong (Pls Help)


YeetMeister

Question

So, the login screen i used for a long time was working just fine, but now it always says the Password is wrong. Can somebody help?

 

function login()
   Username = "XA Ware"
   Password = "XA"
   discordServer = " https://discord.gg/6rPZfxf"
   Result = gg.prompt({"JOIN DISCORD SERVER AND REACH LVL. 1 TO GET THE PASSWORD AND USERNAME\n[DISCORD]\n\n"..discordServer.."\n\nEnter Username:", "Enter Password:","Copy Discord server Link"},{"","","https://discord.gg/6rPZfxf"},{"text","text","text"},nil)
   if Result[1] == Username and Result[2] == Password and Result[3] == discordServer then
    gg.toast("Logged In...\nWelcome ".. Username .. creator)
    main()
   else
   gg.alert("Username or Password Wrong\n")
   os.exit()
   return
  end
end

@CmP

@Enyby

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

local Username = "XA Ware"
local Password = "XA"
local discordServer = "https://discord.gg/6rPZfxf"
Result = gg.prompt({"JOIN DISCORD SERVER AND REACH LVL. 1 TO GET THE PASSWORD AND USERNAME\n[DISCORD]\n\n"..discordServer.."\n\nEnter Username:", "Enter Password:","Copy Discord server Link"}, {[3] = "https://discord.gg/6rPZfxf"}, {[1] = "text", [2] = "text", [3] = "number"})
if Result == nil then gg.alert("Canceled!")
return
end
if Result[1] == Username and Result[2] == Password then gg.toast("Logged In...\nWelcome "..Username)
else
gg.toast("Username or Password Wrong")
return
end

*Don't copy paste

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.