Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {kill::%player%} = 0
- {sneak::%player%} = 0
- on death:
- add 1 to {kill::%attacker%}
- give gold ingot named "&c100$" to attacker
- send "&b%victim% から100$を奪取した!" to attacker
- chance of 50%:
- give gold nugget named "&c50$" to attacker
- chance of 10%:
- give gold nugget named "&c50$" to attacker
- chance of 5%:
- give gold nugget named "&c50$" to attacker
- send "&b敵をkillした! &e現在のkill数 %{kill::%attacker%}%" to attacker
- command /givemoney <number>:
- permission: gun.admin
- trigger:
- if arg-1 is 50:
- give gold nugget named "&c50$" to player
- stop
- if arg-1 is 100:
- give gold ingot named "&c100$" to player
- stop
- if arg-1 is 1000:
- give gold block named "&c1000$" to player
- stop
- if arg-1 is 10000:
- give emerald named "&b10000$" to player
- stop
- if arg-1 is 100000:
- give emerald block named "&r&kaa&r&a100000$&r&kaa" to player
- stop
- if arg-1 is not set:
- message "&c$の金額を指定してください"
- stop
- message "&cその$貨幣は存在しません"
- on rightclick holding a gold ingot:
- if {sneak::%player%} is 1:
- remove 1 gold ingot from the player
- give 2 of gold nugget named "&c50$" to player
- if {sneak::%player%} is 0:
- set {_a} to amount of player's held item in player's inventory
- if {_a} >= 10:
- give gold block named "&c1000$" to player
- remove 10 gold ingot from the player
- on rightclick holding a gold block:
- if {sneak::%player%} is 1:
- remove 1 gold block from the player
- give 10 of gold ingot named "&c100$" to player
- if {sneak::%player%} is 0:
- set {_a} to amount of player's held item in player's inventory
- if {_a} >= 10:
- give emerald named "&b10000$" to player
- remove 10 gold block from the player
- on rightclick holding a emerald:
- if {sneak::%player%} is 1:
- remove 1 emerald from the player
- give 10 of gold block named "&c1000$" to player
- if {sneak::%player%} is 0:
- set {_a} to amount of player's held item in player's inventory
- if {_a} >= 10:
- give emerald block named "&r&kaa&r&a100000$&r&kaa" to player
- remove 10 emerald from the player
- on rightclick holding a emerald block:
- if {sneak::%player%} is 1:
- remove 1 emerald block from the player
- give 10 of emerald named "&b10000$" to player
- on sneak toggle:
- if {sneak::%player%} is 1:
- set {sneak::%player%} to 0
- stop
- if {sneak::%player%} is 0:
- set {sneak::%player%} to 1
- stop
- command /kill:
- aliases: k
- trigger:
- set {_p} to "%player%" parsed as player
- open chest with 1 rows named "&cKillステータス" to player
- wait 1 tick
- format slot 0 of player with skull of player named "&c%player% のステータス" with lore "&b現在kill数 %{kill::%player%}% kill" to act unstealable
- on rightclick:
- if {sneak::%player%} is 1:
- if player's held item is air:
- execute player command "kill"
- command /gunreload:
- permission: gun.admin
- trigger:
- execute console command "sk reload Drop"
- on rightclick holding a gold nugget:
- if {sneak::%player%} is 0:
- set {_a} to amount of player's held item in player's inventory
- if {_a} >= 2:
- give 1 of gold ingot named "&c100$" to player
- remove 2 gold nugget from the player
Add Comment
Please, Sign In to add comment