Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rolled = {}
- function dobet()
- -- If the last roll number matches the conditions, check if we've rolled it already
- if lastBet.Roll >= 1 and lastBet.Roll <= 10 then
- if rolled[lastBet.Roll] == nil then
- -- If we haven't rolled this number yet, record the ID
- rolled[lastBet.Roll] = lastBet.Id
- else
- -- If we have rolled this number already, print the IDs and stop
- print(tostring(lastBet.Roll))
- print(tostring(lastBet.Id))
- print(tostring(rolled[lastBet.Roll]))
- stop()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement