Advertisement
ALPHADOIDE

Untitled

Jul 8th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. on rightclick on entity:
  2. if display name of event-entity is "&e建材ガチャ":
  3. send "&d>>>一回100円<<<" to player
  4. send "&c出てくるもの一覧:" to player
  5. send "&aクオーツブロック各種3種類:32個 白コンクリートorパウダー:32個 白羊毛:32個" to player
  6.  
  7. command /sethome:
  8. permission: skript.sethome
  9. description: /sethome
  10. trigger:
  11. message "[&aServer&f]ホームが設定されました"
  12. set {home.%player%} to location of player
  13.  
  14. command /home:
  15. permission: skript.home
  16. description: /home
  17. trigger:
  18. teleport player to {home.%player%}
  19.  
  20. command /myvote <player>:
  21. permission:sk
  22. trigger:
  23. give arg-1 paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する"
  24.  
  25. on right click with paper:
  26. if player have paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する":
  27. wait 2 ticks
  28. remove paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する" from player's inventory
  29. broadcast "&e%player%さん&dが作物成長チケットを使いました!"
  30. broadcast "&c1分間作物の成長速度が2倍になります!"
  31. loop all players:
  32. play sound "item.totem.use" with volume 0.4 and pitch 1 at loop-player
  33. execute console command "/gamerule randomTickSpeed 600"
  34. wait 1 minute
  35. broadcast "&e作物成長速度が戻りました!"
  36. execute console command "/gamerule randomTickSpeed 300"
  37.  
  38. on sign change:
  39. line 1 is "換金"
  40. set line 1 to "&b===100コイン換金==="
  41.  
  42. on right click:
  43. clicked block is sign
  44. line 1 is "&b===100コイン換金==="
  45. {money::%player%} >= 100
  46. remove 100 from {money::%player%}
  47. give sunflower named "&e100コイン" with lore "&dシフト右クリックで所持金に換算" to player
  48. play sound "entity.player.levelup" with volume 0.4 and pitch 2 at player for player
  49.  
  50. on rightclick:
  51. player is sneaking
  52. name of held item contains "&e100コイン"
  53. wait 2 ticks
  54. remove sunflower named "&e100コイン" with lore "&dシフト右クリックで所持金に換算" from player's inventory
  55. add 100 to {money::%player%}
  56. play sound "entity.player.levelup" with volume 0.4 and pitch 2 at player for player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement