Advertisement
Dudugz-Contistente

Untitled

Sep 7th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. tfm.exec.disableAutoTimeLeft()
  2. tfm.exec.disableMortCommand()
  3. tfm.exec.disableAutoNewGame()
  4. tfm.exec.disableAutoShaman()
  5. tfm.exec.setGameTime(99999)
  6.  
  7. kira="Shiobausamak"
  8.  
  9. killeds={}
  10.  
  11. function eventLoop()
  12. ui.addTextArea(-1,"",nil,149,49,501,301,0x201608,0x201608)
  13. ui.addTextArea(1,"",nil,150,50,500,300,0xC3BCA0,0x201608)
  14. ui.addTextArea(2,"",nil,400,52,5,297,0x827D69,0xC3BCA0)
  15.  
  16. local text=""
  17. for _,k in pairs(killeds) do
  18. text=text..k
  19. end
  20. ui.addTextArea(3,"<font color='#000000' size='13'>"..text.."</font>",nil,160,55,220,280,0xC3BCA0,0xC3BCA0)
  21. end
  22.  
  23. function eventKeyboard(name, key, down, x, y)
  24. if key == 88 then
  25. ui.addPopup(0,2,"Escreva em seu DeathNote:",name,100,50,400,true)
  26. end
  27. end
  28.  
  29. function eventPopupAnswer(id,name,answer)
  30. if id == 0 and answer ~= "" and #answer >= 8 and #answer <= 68 then
  31. table.insert(killeds,answer.."\n")
  32. end
  33. end
  34.  
  35. system.bindKeyboard(kira,88,true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement