Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

on right click on item frame:

set {_iframe} to targeted entity


if the shown item on {_iframe} is prismarine crystals:
if "%region at player%" contains "shop":
if player has 10 scutes:
remove 10 scutes from player's inventory
give player prismarine crystals named "<##53777D>&lPlastic"
else:
send "&cYou can't afford this" to player
else:
if the shown item on {_iframe} is rabbit hide:
if "%region at player%" contains "shop":
if player has 10 scutes:
remove 10 scutes from player's inventory
give player Rabbit Hide named "<##d4bf9c>&lCloth"
else:
send "&cYou can't afford this" to player
else:
if the shown item on {_iframe} is string:
if "%region at player%" contains "shop":
if player has 10 scutes:
remove 10 scutes from player's inventory
give player string named "&f&lString"
else:
send "&cYou can't afford this" to player
command /mint:
permission: currency.mint
trigger:
give player scute named "<##aaf0d1>&lMint"

You might also like