Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. local function GetKey()
  2. local Alphabet = 'ABCDEFGHIJKLMNOPQRSTUWXYZ1234567890'
  3. local AlphabetTB = string.Explode('',Alphabet)
  4. local KeyPass = math.Round(CurTime()%#Alphabet)
  5. local KEYTB = {}
  6. for i=1,5 do KEYTB[i] = AlphabetTB[KeyPass+math.Round(CurTime()%10+i-KeyPass)] end
  7. local KEY = string.Implode('',KEYTB)
  8. return KEY
  9. end
  10. print(GetKey())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement