How do i do this? or is it possible?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Tobias

Member
Oct 26, 2018
2
0
0
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*
 
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*
Let's see if I understood correctly. Do you want to click on an item in an inventory that you have created in skript code, add the item you have clicked to the player's inventory?
 
Status
Not open for further replies.