Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Flytime: glowing paper named "&eFlugzeit: 30min"
- command flytime:
- trigger:
- give player {@Flytime}
- clear {flytimer::*}
- on rightclick holding paper:
- player's tool = {@Flytime}
- if {flytimer::%player%} is set:
- {flytimer::%player%} > 200
- stop
- delete player's tool
- if world of player = "world": #!Optional
- set fly mode of player to true
- set fly speed of player to 0.1
- set {flytimer::%player%} to 1800
- send "Viel Spaß!"
- every 2 seconds:
- loop all players:
- {flytimer::%loop-player%} > 0
- set action bar of loop-player to "&8&oFlugzeit übrig: &7&o%{flytimer::%loop-player%}%s"
- world of loop-player = "world": #!Optional
- set fly mode of loop-player to true
- set fly speed of loop-player to 0.1
- subtract 2 from {flytimer::%loop-player%}
- if {flytimer::%loop-player%} = 0:
- set action bar of loop-player to "&cFlugzeit abgelaufen!"
- wait 5 ticks
- set fly mode of loop-player to false
- apply slow falling 1 without any particles to loop-player for 15 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement