Rohere

Untitled

May 11th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. mages = {"Rohere#0000"}
  2. warriors = {}
  3.  
  4. hp = 100
  5. stamina = 100
  6. mana = 100
  7.  
  8. typic_m_s = {hp, mana, stamina}
  9.  
  10.  
  11. stats = {}
  12. a = 0
  13.  
  14. for user in pairs(tfm.get.room.playerList) do
  15. tfm.exec.bindKeyboard(user,32, true)
  16. stats[a] = {user, typic_m_s}
  17. a=a+1
  18. end
  19.  
  20. function eventKeyboard(user, klaw, x, y)
  21.          for a in pairs({mages, warriors}) do
  22.              if mages[a] == user then
  23.                 mage = mages[a]
  24.                
  25.        
  26.  
  27.              end
  28.  
  29.              
  30.  
  31.              if warriors[a] == user then
  32.                 warrior = warriors[a]
  33.              
  34.  
  35.              end
  36.          end
  37.  
  38.                                    print(warrior)
  39.                                    print(mage)
  40. end
Advertisement
Add Comment
Please, Sign In to add comment