Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. on chat:
  2. set {%player%.chatsk.name.player} to player
  3. set {chatsk.name} to player
  4. loop all players:
  5. if {%player%.chatsk.name.player} is {chatsk.name}:
  6. if {%loop-player%.chatsk.onoff} is 1:
  7. play "BLOCK_STONE_BUTTON_CLICK_ON" to loop-player at volume 1
  8.  
  9. command /chatsound [<text>]:
  10. aliases: chats
  11. trigger:
  12. if arg 1 is "on":
  13. send "&achatsoundをONにしました" to player
  14. set {%player%.chatsk.onoff} to 1
  15. if arg 1 is "off":
  16. set {%player%.chatsk.onoff} to 0
  17. send "&achatsoundをOFFにしました" to player
  18. if arg 1 is not set:
  19. send "&b/chatsound <on/off> /cs - 着信音をon/offにします" to player
  20.  
  21. on first join:
  22. broadcast "&b%player%さんが初めてサーバーにログインしました"
  23. give 1 diamond sword named "&f剣" with lore "&f前方を範囲攻撃できる" to player
  24.  
  25. on join:
  26. wait 3 tick
  27. teleport the player to {unjail.location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement