Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /aps [<text>] [<number>] [<player>]:
- permission: skript.op
- usage: /aps <sound> <pitch>
- aliases: /aps
- trigger:
- if arg-1 is not set:
- message "{@C}Specify a sound!"
- if arg-2 is not set:
- set {_pitch} to 1
- if arg-2 is set:
- set {_pitch} to arg-2
- if arg-3 is not set:
- loop all players:
- execute console command "/playsound %arg-1% %loop-player% ~ ~ ~ 1 %{_pitch}% 1"
- else if arg-3 is set:
- execute console command "/playsound %arg-1% %arg-3% ~ ~ ~ 1 %{_pitch}% 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement