7mm

Skript

7mm
Feb 26th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. #===============================================
  2. #ベッドリスポ設定
  3. #===============================================
  4. on rightclick on bed:
  5. set {pl-status.respoint.%player%} to location of player
  6. message "&6&lリスポーンポイント&e&lを設定しました!"
  7. execute console command "/execute %player% ~ ~ ~ spawnpoint %player% ~ ~ ~"
  8. play sound "block.note.pling" with pitch 1.5 at player
  9. play sound "block.note.snare" with pitch 1 at player
  10. play sound "block.note.basedrum" with pitch 1 at player
  11. wait 1 minecraft ticks
  12. play sound "block.note.pling" with pitch 1.2 at player
  13. play sound "block.note.basedrum" with pitch 1 at player
  14. wait 1 minecraft ticks
  15. play sound "block.note.pling" with pitch 1.5 at player
  16. play sound "block.note.snare" with pitch 0.5 at player
  17. play sound "block.note.basedrum" with pitch 1 at player
  18.  
  19. command /respoint:
  20. description: 設定したリスポーンポイントへTPします
  21. usage: &e/rsp
  22. aliases: /rsp
  23. trigger:
  24. teleport player to the location {pl-status.respoint.%player%}
  25. play sound "block.note.pling" with pitch 1 at player
  26. play sound "block.note.snare" with pitch 1 at player
  27. play sound "block.note.basedrum" with pitch 1 at player
  28.  
  29.  
  30. #===============================================
  31. #レベルスクリプト
  32. #===============================================
  33. #command /entryenemy <text> <number>:
  34. # description: 運営用のコマンドです
  35. # usage: &e/ee
  36. # aliases: /ee
  37. # trigger:
  38. # add 1 to {entry-enemy-amount}
  39. # set {entry-enemy.name.%{entry-enemy-amount}%} to arg 1
  40. # set {entry-enemy.exp.%{entry-enemy-amount}%} to arg 2
  41.  
  42. #on death:
  43. # loop {entry-enemy-amount} times:
  44. # if name of victim is {entry-enemy.name.%loop-number%}:
  45. # add {entry-enemy.exp.%loop-number%} to {pl-status.exp.%attacker%}
  46.  
  47. #every minecraft tick:
  48. # loop all players:
  49. # if {pl-status.level.%loop-player%} is not set:
  50. # set {pl-status.level.%loop-player%} to 0
  51. # if {pl-status.level.%loop-player%} is more than -1:
  52. # if {pl-status.level.%loop-player%} is less than 17:
  53. # set {_levelup-exp} to 6*{pl-status.level.%loop-player%}+15
  54. # if {pl-status.exp.%loop-player%} is more than {_levelup-exp}:
Add Comment
Please, Sign In to add comment