Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function count(n)
- count = 0
- for _ in pairs(n) do count = count + 1 end
- print(count)
- end
- math.random(1,count(tablename))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement