Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local upperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- local lowerCase = "abcdefghijklmnopqrstuvwxyz"
- local numbers = "0123456789"
- local symbols = ""
- local characterSet = upperCase .. lowerCase .. numbers .. symbols
- local keyLength = 7
- local output = ""
- for i = 1, keyLength do
- local rand = math.random(#characterSet)
- output = output .. string.sub(characterSet, rand, rand)
- end
- local upperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- local lowerCase = "abcdefghijklmnopqrstuvwxyz"
- local numbers = "0123456789"
- local symbols = ""
- local characterSet = upperCase .. lowerCase .. numbers .. symbols
- local keyLength = 7
- local output1 = ""
- for i = 1, keyLength do
- local rand = math.random(#characterSet)
- output1 = output1 .. string.sub(characterSet, rand, rand)
- end
- game.StarterGui:SetCore('SendNotification', {Duration = 10; Title=output; Text=output1})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement