Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 1 seconds:
- loop all players:
- loop-player is flying
- loop-player's gamemode is adventure or survival
- loop-player does not have permission "fly.use"
- kick the loop-player due to "&cFlyは許可されていません!"
- add 1 to {%loop-player%.PunishCount}
- loop all players:
- if {%loop-player%.PunishCount} is greater than 10:
- ban the loop-player due to "&cBanned by SoramameAntiCheatSystem"
- clear {%loop-player%.PunishCount}
- on any movement:
- player's walk speed is greater than 2
- kick the player due to "&cSpeedは許可されていません!"
- add 1 to {%player%.PunishCount}
- stop
- command /resetpunish:
- permission:s
- trigger:
- clear {%player%.PunishCount}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement