17,230
edits
(guid) |
(seed random with os time so we don't get the same results for every #invoke) |
||
Line 1: | Line 1: | ||
math.randomseed( tonumber( tostring( os.time() ):reverse():sub( 1, 6 ) ) ) | |||
function guid() | function guid() | ||
local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' | local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' |