Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setshop <text>:
- permission: sk.admin
- trigger:
- set {%arg-1%} to tool of player
- command /oishop:
- trigger:
- set {pamo.%player%} to true
- set {piro} to 0
- open chest with 5 rows named "&9&kttt&r&3&lお水売り&9&kttt" to player
- wait a tick
- format slot 0 of player with white glass pane to be unstealable
- format slot 1 of player with white glass pane to be unstealable
- format slot 2 of player with white glass pane to be unstealable
- format slot 3 of player with white glass pane to be unstealable
- format slot 4 of player with white glass pane to be unstealable
- format slot 5 of player with white glass pane to be unstealable
- format slot 6 of player with white glass pane to be unstealable
- format slot 7 of player with white glass pane to be unstealable
- format slot 8 of player with white glass pane to be unstealable
- format slot 9 of player with {oishi} with lore "&a&l値段: 500円" to run [make player execute command "oimizu"]
- format slot 36 of player with white glass pane to be unstealable
- format slot 37 of player with white glass pane to be unstealable
- format slot 38 of player with white glass pane to be unstealable
- format slot 39 of player with white glass pane to be unstealable
- format slot 40 of player with white glass pane to be unstealable
- format slot 41 of player with white glass pane to be unstealable
- format slot 42 of player with white glass pane to be unstealable
- format slot 43 of player with white glass pane to be unstealable
- format slot 44 of player with white glass pane to be unstealable
- command /oimizu:
- trigger:
- if {pamo.%player%} is false:
- stop
- if {tuuka.%player%} < 500:
- message "&b&lSystem &7&l≫ &c所持金が足りません。"
- stop
- give player {oishi}
- remove 500 from {tuuka.%player%}
- message "&b&lSystem &7&l≫ &a&l残り所持金は%{tuuka.%player%}%円です。"
Advertisement
Add Comment
Please, Sign In to add comment