Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /dolphins <text>:
- permission: skript.op
- trigger:
- if arg is "on" or "enable" or "true":
- set {dolphins} to true
- broadcast "&9[Dolphins]&a Enabled by %command sender%!"
- loop all players:
- execute console command "/playsound random.splash %loop-player% ~ ~ ~ 1 1 1"
- apply water breathing to the loop-player for 999 days
- if arg is "off" or "disable" or "false":
- set {dolphins} to false
- broadcast "&9[Dolphins]&a Disabled by %command sender%!"
- loop all players:
- execute console command "/playsound random.splash %loop-player% ~ ~ ~ 1 1 1"
- remove water breathing from the loop-player
- if arg is "toggle" or "switch" or "change":
- {dolphins} is true:
- set {dolphins} to false
- broadcast "&9[Dolphins]&a Disabled by %command sender%!"
- loop all players:
- execute console command "/playsound random.splash %loop-player% ~ ~ ~ 1 1 1"
- remove water breathing from the loop-player
- stop trigger
- {dolphins} is false:
- set {dolphins} to true
- broadcast "&9[Dolphins]&a Enabled by %command sender%!"
- loop all players:
- execute console command "/playsound random.splash %loop-player% ~ ~ ~ 1 1 1"
- apply water breathing to the loop-player for 999 days
- stop trigger
- loop all players:
- execute console command "/playsound random.splash %loop-player% ~ ~ ~ 1 1 1"
- if arg is "apply" or "effects":
- loop all players:
- apply water breathing to the loop-player for 999 days
- on walk on water:
- {dolphins} is true:
- push the player forwards with force 0.25
- block below the player is water:
- player is sneaking:
- push the player upwards with force 0.25
- chance of 0.5%:
- give player 1 raw fish
- on damage:
- damage was caused by fall:
- {dolphins} is true:
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement