Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #前提:「Skript」、「SkStuff」
- #改造:基本的に自由ですが、作成者を偽るのは禁止です
- #使用:[if {mob} is less than or equal to 4:]のところの数字を変えることによって、
- #mobの沸き上限を設定できます。(lessなので100にしたいときは99と書いてください)
- #[wait 100 second]のところの数字を変えることで、召喚されてからデスポーンまでの時間を変更できます
- #必須:リピート・常時のコマンドブロックを設置し、[/entitydata @e {PersistenceRequired:1}]
- #と書いてください、こうしないとバグります。
- #このSkriptを導入したら初めに[/mob-reset]と打ってください。
- #コマンド:[/mob]にて今世界にいるmobの数が確認できます。(誰でも使えます)
- #[/mob-reset]変数mobを0にセットできます。(最初以外使わないで下さい、permission[adomin]もちのみ使えます)
- on spawn:
- if {mob} is less than or equal to 4:
- add 1 to {mob}
- wait 100 second
- teleport event-entity to location (8,0,8)
- wait 1 tick
- kill the event-entity
- else:
- cancel event
- on death:
- victim isn't a player
- if {mob} is more than or equal to 1:
- remove 1 from {mob}
- command /mob:
- trigger:
- send "There are now %{mob}% mobs in this world" to player
- command /mob-reset:
- permission: adomin
- trigger:
- set {mob} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement