Notmove_function.lua

main 8 lines · 259 bytes Raw
Alex Alex Commit Server upload 18/10/2026 23:38
1function onPlayerMove(player, fromPosition, toPosition)
2 if player:getStorageValue(STORAGE_NO_MOVE) == 1 then
3 player:sendCancelMessage("Você não pode se mover enquanto conjura esta magia!")
4 return false
5 end
6 return true
7end
8
Top