Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for name, player in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(name, 32, true, true)
- system.bindMouse(name, true)
- --ui.addTextArea("hitbox", "", name, 890, 338, 34, 18, 0x111111, 0xff3333, 0.5, true)
- --ui.addTextArea("test", "<font size='100'><BL>♥</font>", name, 104, 190, 100, 120, 0x111111, 0xff3333, 0, true)
- end
- function eventKeyboard(name, key, down, x, y)
- if key==32 then
- --tfm.exec.explosion(x, y, -80, 800, true)
- end
- end
- function eventMouse(name, x, y)
- --tfm.exec.movePlayer(name, x, y, false, 0, 0, false)
- if x>=905 and x<=925 and y>=186 and y<=218 then
- tfm.exec.setShaman(name)
- end
- if x>=890 and x<=924 and y>=338 and y<=356 then
- tfm.exec.giveMeep(name)
- ui.addTextArea("i_love_chicken", "<font size='20'><0x000000>♥♥♥♥♥", name, 838, 362, 100, 30, 0, 0, 0, true)
- end
- end
- function eventChatCommand(name, message)
- if string.sub(message, 0, 5)=="kill_" then
- tfm.exec.killPlayer(string.sub(message, 6, string.len(message)))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement