Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on entity:
- if display name of event-entity is "&e建材ガチャ":
- send "&d>>>一回100円<<<" to player
- send "&c出てくるもの一覧:" to player
- send "&aクオーツブロック各種3種類:32個 白コンクリートorパウダー:32個 白羊毛:32個" to player
- command /sethome:
- permission: skript.sethome
- description: /sethome
- trigger:
- message "[&aServer&f]ホームが設定されました"
- set {home.%player%} to location of player
- command /home:
- permission: skript.home
- description: /home
- trigger:
- teleport player to {home.%player%}
- command /myvote <player>:
- permission:sk
- trigger:
- give arg-1 paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する"
- on right click with paper:
- if player have paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する":
- wait 2 ticks
- remove paper named "&e&l作物成長速度促進チケット" with lore "&d右クリックすると一分間作物の成長スピードを2倍に促進する" from player's inventory
- broadcast "&e%player%さん&dが作物成長チケットを使いました!"
- broadcast "&c1分間作物の成長速度が2倍になります!"
- loop all players:
- play sound "item.totem.use" with volume 0.4 and pitch 1 at loop-player
- execute console command "/gamerule randomTickSpeed 600"
- wait 1 minute
- broadcast "&e作物成長速度が戻りました!"
- execute console command "/gamerule randomTickSpeed 300"
- on sign change:
- line 1 is "換金"
- set line 1 to "&b===100コイン換金==="
- on right click:
- clicked block is sign
- line 1 is "&b===100コイン換金==="
- {money::%player%} >= 100
- remove 100 from {money::%player%}
- give sunflower named "&e100コイン" with lore "&dシフト右クリックで所持金に換算" to player
- play sound "entity.player.levelup" with volume 0.4 and pitch 2 at player for player
- on rightclick:
- player is sneaking
- name of held item contains "&e100コイン"
- wait 2 ticks
- remove sunflower named "&e100コイン" with lore "&dシフト右クリックで所持金に換算" from player's inventory
- add 100 to {money::%player%}
- 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