#ChestShop Preview

1 messages · Page 1 of 1 (latest)

silk ivy
#

Is it possible, to make a preview for a chestshop, so if a Player Sneaks and leftclicks the sign it opens a 1 row gui where the item is Previewed?

winged pasture
#

Should be you would just need to check during the on leftclick event, if the target block is a sign and if the player is sneaking (pretty sure its literally event-player is sneaking) and then use a skript gui addon to open the gui with the item wherever (assuming you have the shop item stored in a variable)

silk ivy
#

Sadly i dont know how to make a Script like it. Can you give me an example for it?

winged pasture
#

I would recommend looking at documentation, us giving you the code isnt really helpful :D Here is links I think are useful:

https://skripthub.net/docs/?id=7929
https://skripthub.net/docs/?id=1094
https://skripthub.net/docs/?id=1163