Advertisement
creepstu

Script Hub Making Starter Pack #1

Aug 30th, 2023 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. function randomString()
  2.     local length = math.random(10,20)
  3.     local array = {}
  4.     for i = 1, length do
  5.         array[i] = string.char(math.random(32, 126))
  6.     end
  7.     return table.concat(array)
  8. end
  9.  
  10. --[[Examples to use: 'frame.Name = randomString();'
  11.                    'variable.Name = randomString();'
  12.                    'local AudioSound = Instance.new('Sound', nil)
  13.                    AudioSound.Name = randomString();'
  14. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement