Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mages = {"Rohere#0000"}
- warriors = {}
- hp = 100
- stamina = 100
- mana = 100
- typic_m_s = {hp, mana, stamina}
- stats = {}
- a = 0
- for user in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(user,32, true)
- stats[a] = {user, typic_m_s}
- a=a+1
- end
- function eventKeyboard(user, klaw, x, y)
- for a in pairs({mages, warriors}) do
- if mages[a] == user then
- mage = mages[a]
- end
- if warriors[a] == user then
- warrior = warriors[a]
- end
- end
- print(warrior)
- print(mage)
- end
Advertisement
Add Comment
Please, Sign In to add comment