mirricraft-skript/mirricraft-fly.sk

15 lines
542 B
Plaintext
Raw Normal View History

2020-10-24 03:31:01 +00:00
# --- Fly ---
command /fly [<text>]:
description: Fly
executable by: players
trigger:
if player has the permission "mirricraft.fly":
if {fly.%player%} is not set:
message "&7[&2MirriCraft&7]&r Lento on nyt sallittu"
set player's flight mode to true
set {fly.%player%} to true
stop
message "&7[&2MirriCraft&7]&r Lento on pois käytöstä"
set player's flight mode to false
delete {fly.%player%}
stop