waterpipe.lua

main 9 lines · 236 bytes Raw
Alex Alex Commit Server upload 18/10/2026 23:38
1function onUse(player, item, fromPosition, target, toPosition, isHotkey)
2 if math.random(3) == 1 then
3 item:getPosition():sendMagicEffect(CONST_ME_POFF)
4 else
5 player:getPosition():sendMagicEffect(CONST_ME_POFF)
6 end
7 return true
8end
9
Top