command /Dam:
trigger:
open virtual chest inventory with size 6 named "test" to player
format gui slot 0 of player with glass named "" to do nothing
format gui slot 1 of player with Gunpowder to run:
if player's inventory contains 30 coal:
remove 30 coal from player's inventory
add 5 Gunpowder named "&6&lGun Powder" to player's inventory
on rightclick with diamond:
make player execute "Dam"
^the skript not working
and the other problem
https://pastebin.com/iDyL2vVB
all the plugins im using
trigger:
open virtual chest inventory with size 6 named "test" to player
format gui slot 0 of player with glass named "" to do nothing
format gui slot 1 of player with Gunpowder to run:
if player's inventory contains 30 coal:
remove 30 coal from player's inventory
add 5 Gunpowder named "&6&lGun Powder" to player's inventory
on rightclick with diamond:
make player execute "Dam"
^the skript not working
and the other problem
https://pastebin.com/iDyL2vVB
all the plugins im using