Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /fly [<boolean>]:
- Description:飛行モードを切り替えます
- Usage: /fly [true/false]
- Aliases: /flytoggle
- Executable by: players
- Permission: skript.commands.fly
- Trigger:
- if arg 1 is not set:
- if {fly.%player%} is not set:
- message "&7飛行モードが&a有効&7になりました。"
- play sound "block.note.pling" at player
- set player's flight mode to true
- set {fly.%player%} to true
- stop
- else:
- message "&7飛行モードが&c無効&7になりました。"
- play sound "block.piston.contract" at player
- set player's flight mode to false
- delete {fly.%player%}
- Stop
- else:
- if arg 1 is true:
- message "&7飛行モードが&a有効&7になりました。"
- play sound "block.note.pling" at player
- set player's flight mode to true
- set {fly.%player%} to true
- stop
- else:
- message "&7飛行モードが&c無効&7になりました。"
- play sound "block.piston.contract" at player
- set player's flight mode to false
- delete {fly.%player%}
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement