So I have this Skript where it opens a "Chest Gui" where there are 3 Shiny Music Disc and some grey glass panels in the sides.
So i tryied to write this
And it dosent work. but when i remove the to be unstealable it works.
I also wanted to do that with you click on one of the 3 Music Disc you would buy it (Im Danish so ignore the Lore) I want to use the to close then run command but it dosent work
And the /cironpolet command is a command I have longer down in my skript. again im Danish so ignore the text
I really hope you guys can help me cause i really need this
[doublepost=1514380573,1514380402][/doublepost]
So i tryied to write this
code_language.skript:
set slot 0 of player's current inventory to black stained glass named "&6" to be unstealable
I also wanted to do that with you click on one of the 3 Music Disc you would buy it (Im Danish so ignore the Lore) I want to use the to close then run command but it dosent work
code_language.skript:
set slot 2 of player's current inventory to strad music disc named "&c&lIronPolet" with lore "&aBruges til at åbne en &f&lIron Crate|| ||&aPris &2250$|| ||&4ADVARSEL||&aHusk at have plads i din inventory!" to close then run [ make console execute command "/cironpolet"]
And the /cironpolet command is a command I have longer down in my skript. again im Danish so ignore the text
code_language.skript:
command /cironpolet:
executable by: player
trigger:
if player's balance is greater or equal to 250:
execute console command "/scrate givekey IronCrate %player% 1"
subtract 250 from player's balance
else:
send "&cDu har ikke penge nok!"
I really hope you guys can help me cause i really need this
[doublepost=1514380573,1514380402][/doublepost]
So I have this Skript where it opens a "Chest Gui" where there are 3 Shiny Music Disc and some grey glass panels in the sides.
So i tryied to write this
And it dosent work. but when i remove the to be unstealable it works.code_language.skript:set slot 0 of player's current inventory to black stained glass named "&6" to be unstealable
I also wanted to do if you click on one of the 3 Music Disc you would buy it (Im Danish so ignore the Lore) I want to use the to close then run command but it dosent work
code_language.skript:set slot 2 of player's current inventory to strad music disc named "&c&lIronPolet" with lore "&aBruges til at åbne en &f&lIron Crate|| ||&aPris &2250$|| ||&4ADVARSEL||&aHusk at have plads i din inventory!" to close then run [ make console execute command "/cironpolet"]
And the /cironpolet command is a command I have longer down in my skript. again im Danish so ignore the text
code_language.skript:command /cironpolet: executable by: player trigger: if player's balance is greater or equal to 250: execute console command "/scrate givekey IronCrate %player% 1" subtract 250 from player's balance else: send "&cDu har ikke penge nok!"
I really hope you guys can help me cause i really need this