is it possible to make a block chance inside a gui/chest skript
on rightclick with chest:
if player is holding a chest named "&b&lMadpakke":
remove 1 chest named "&b&lMadpakke" from the player
send "&7&LÅbner din &b&LMadpakke!" to player
wait 3 tick
open chest with 5 rows named "&b&lMadpakke" to player
#//slot 1 cornor
format slot 0 of player with 160:11 named "&1" to be unstealable
format slot 1 of player with 160:3 named "&1" to be unstealable
format slot 2 of player with 160:11 named "&1" to be unstealable
format slot 3 of player with 160:3 named "&1" to be unstealable
format slot 4 of player with 160:11 named "&1" to be unstealable
format slot 5 of player with 160:3 named "&1" to be unstealable
format slot 6 of player with 160:11 named "&1" to be unstealable
format slot 7 of player with 160:3 named "&1" to be unstealable
format slot 8 of player with 160:11 named "&1" to be unstealable
format slot 9 of player with 160:3 named "&1" to be unstealable
format slot 10 of player with 160:11 named "&1" to be unstealable
format slot 11 of player with 160:3 named "&1" to be unstealable
format slot 12 of player with 160:11 named "&1" to be unstealable
format slot 13 of player with 160:3 named "&1" to be unstealable
format slot 14 of player with 160:11 named "&1" to be unstealable
format slot 15 of player with 160:3 named "&1" to be unstealable
format slot 16 of player with 160:11 named "&1" to be unstealable
format slot 17 of player with 160:3 named "&1" to be unstealable
format slot 18 of player with 160:11 named "&1" to be unstealable
format slot 19 of player with 160:3 named "&1" to be unstealable
format slot 20 of player with 130 named "&e&lPenge" with lore "&7Klik her for at få penge!" to be unstealable
format slot 21 of player with 160:3 named "&1" to be unstealable
format slot 22 of player with 160:11 named "&1" to be unstealable
format slot 23 of player with 160:3 named "&1" to be unstealable
format slot 24 of player with 130 named "&b&lPickaxe" with lore "&7Klick her for at få en Pickaxe" to close
format slot 25 of player with 160:3 named "&1" to be unstealable
format slot 26 of player with 160:11 named "&1" to be unstealable
format slot 27 of player with 160:3 named "&1" to be unstealable
format slot 28 of player with 160:11 named "&1" to be unstealable
format slot 29 of player with 160:3 named "&1" to be unstealable
format slot 30 of player with 160:11 named "&1" to be unstealable
format slot 31 of player with 160:3 named "&1" to be unstealable
format slot 32 of player with 160:11 named "&1" to be unstealable
format slot 33 of player with 160:3 named "&1" to be unstealable
format slot 34 of player with 160:11 named "&1" to be unstealable
format slot 35 of player with 160:3 named "&1" to be unstealable
format slot 36 of player with 160:11 named "&1" to be unstealable
format slot 37 of player with 160:3 named "&1" to be unstealable
format slot 38 of player with 160:11 named "&1" to be unstealable
format slot 39 of player with 160:3 named "&1" to be unstealable
format slot 40 of player with 160:11 named "&1" to be unstealable
format slot 41 of player with 160:3 named "&1" to be unstealable
format slot 42 of player with 160:11 named "&1" to be unstealable
format slot 43 of player with 160:3 named "&1" to be unstealable
format slot 44 of player with 160:11 named "&1" to be unstealable
this is the skript thing and i want it so when someone clicks on the pickaxe one it removes itself and displays a pickaxe instead of the chest. is it possible? and if so how do i do it?
tdlr: replace chest with pickaxe
[doublepost=1556452899,1556452844][/doublepost]after u clicked it*
on rightclick with chest:
if player is holding a chest named "&b&lMadpakke":
remove 1 chest named "&b&lMadpakke" from the player
send "&7&LÅbner din &b&LMadpakke!" to player
wait 3 tick
open chest with 5 rows named "&b&lMadpakke" to player
#//slot 1 cornor
format slot 0 of player with 160:11 named "&1" to be unstealable
format slot 1 of player with 160:3 named "&1" to be unstealable
format slot 2 of player with 160:11 named "&1" to be unstealable
format slot 3 of player with 160:3 named "&1" to be unstealable
format slot 4 of player with 160:11 named "&1" to be unstealable
format slot 5 of player with 160:3 named "&1" to be unstealable
format slot 6 of player with 160:11 named "&1" to be unstealable
format slot 7 of player with 160:3 named "&1" to be unstealable
format slot 8 of player with 160:11 named "&1" to be unstealable
format slot 9 of player with 160:3 named "&1" to be unstealable
format slot 10 of player with 160:11 named "&1" to be unstealable
format slot 11 of player with 160:3 named "&1" to be unstealable
format slot 12 of player with 160:11 named "&1" to be unstealable
format slot 13 of player with 160:3 named "&1" to be unstealable
format slot 14 of player with 160:11 named "&1" to be unstealable
format slot 15 of player with 160:3 named "&1" to be unstealable
format slot 16 of player with 160:11 named "&1" to be unstealable
format slot 17 of player with 160:3 named "&1" to be unstealable
format slot 18 of player with 160:11 named "&1" to be unstealable
format slot 19 of player with 160:3 named "&1" to be unstealable
format slot 20 of player with 130 named "&e&lPenge" with lore "&7Klik her for at få penge!" to be unstealable
format slot 21 of player with 160:3 named "&1" to be unstealable
format slot 22 of player with 160:11 named "&1" to be unstealable
format slot 23 of player with 160:3 named "&1" to be unstealable
format slot 24 of player with 130 named "&b&lPickaxe" with lore "&7Klick her for at få en Pickaxe" to close
format slot 25 of player with 160:3 named "&1" to be unstealable
format slot 26 of player with 160:11 named "&1" to be unstealable
format slot 27 of player with 160:3 named "&1" to be unstealable
format slot 28 of player with 160:11 named "&1" to be unstealable
format slot 29 of player with 160:3 named "&1" to be unstealable
format slot 30 of player with 160:11 named "&1" to be unstealable
format slot 31 of player with 160:3 named "&1" to be unstealable
format slot 32 of player with 160:11 named "&1" to be unstealable
format slot 33 of player with 160:3 named "&1" to be unstealable
format slot 34 of player with 160:11 named "&1" to be unstealable
format slot 35 of player with 160:3 named "&1" to be unstealable
format slot 36 of player with 160:11 named "&1" to be unstealable
format slot 37 of player with 160:3 named "&1" to be unstealable
format slot 38 of player with 160:11 named "&1" to be unstealable
format slot 39 of player with 160:3 named "&1" to be unstealable
format slot 40 of player with 160:11 named "&1" to be unstealable
format slot 41 of player with 160:3 named "&1" to be unstealable
format slot 42 of player with 160:11 named "&1" to be unstealable
format slot 43 of player with 160:3 named "&1" to be unstealable
format slot 44 of player with 160:11 named "&1" to be unstealable
this is the skript thing and i want it so when someone clicks on the pickaxe one it removes itself and displays a pickaxe instead of the chest. is it possible? and if so how do i do it?
tdlr: replace chest with pickaxe
[doublepost=1556452899,1556452844][/doublepost]after u clicked it*