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 comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
This maybe:code_language.skript:on break of stone: wait 2 ticks set location of targeted block to {treasure} set {treasure} to chest wait 5 ticks add 5 torch to {treasure}'s inventory
Not sure why this doesn't work. HMMM?
on break of stone:
wait 2 ticks
set {treasure} to targeted block
wait 5 ticks
add 5 torch to {treasure}'s inventory
Worst. Now it doesn't even spawn the chest...This maybe:
code_language.skript:on break of stone: wait 2 ticks set {treasure} to targeted block wait 5 ticks add 5 torch to {treasure}'s inventory
Well it's hard to help someone when they don't explain their problem:Worst. Now it doesn't even spawn the chest...
on break of stone:
wait 2 ticks
set {treasure} to targeted block
set block at {treasure} to chest
wait 5 ticks
add 5 torch to {treasure}'s inventory
I want the 5 torch to add into the chest that spawned.Well it's hard to help someone when they don't explain their problem:
code_language.skript:on break of stone: wait 2 ticks set {treasure} to targeted block set block at {treasure} to chest wait 5 ticks add 5 torch to {treasure}'s inventory
So what's it doing now?I want the 5 torch to add into the chest that spawned.
No error. The chest spawned but the items are not in the chest.So what's it doing now?
What Skript + MC version are you using?No error. The chest spawned but the items are not in the chest.
latest bensku and latest 1.12.2 spigotWhat Skript + MC version are you using?
try this. didn't test it but try itcode_language.skript:on break of stone: wait 2 ticks set location of targeted block to {treasure} set {treasure} to chest wait 5 ticks add 5 torch to {treasure}'s inventory
Not sure why this doesn't work. HMMM?
on break of stone:
wait 2 ticks
set {treasure} to event-block's location
set block at {treasure} to chest
wait 5 ticks
set {treasureblock} to block at {treasure}
add 5 torch to {treasure}'s inventory
Tried. Empty chesttry this. didn't test it but try it
code_language.skript:on break of stone: wait 2 ticks set {treasure} to event-block's location set block at {treasure} to chest wait 5 ticks add 5 torch to {treasure}'s inventory
Tried. Empty chest
on break of stone:
wait 2 ticks
set {treasure} to event-block's location
set block at {treasure} to chest
wait 5 ticks
set {treasureblock} to block at {treasure}
add 5 torch to {treasureblock}'s inventory
I tested this one and it works for meWell it's hard to help someone when they don't explain their problem:
code_language.skript:on break of stone: wait 2 ticks set {treasure} to targeted block set block at {treasure} to chest wait 5 ticks add 5 torch to {treasure}'s inventory
Thanks!!I tested this, it workscode_language.skript:on break of stone: wait 2 ticks set {treasure} to event-block's location set block at {treasure} to chest wait 5 ticks set {treasureblock} to block at {treasure} add 5 torch to {treasureblock}'s inventory