Requesting Skript Help

Status
This thread has been locked.

LavaBucket

Founder of Infurious.gg
Supreme
Feedback score
4
Posts
238
Reactions
27
Resources
0
Hey mc-market,
Okay, so I am usually decent at skripting but I seem to be having an issue with this. I can't seem to find the right events/conditions if someone could please help it would be appreciated.
I'm trying to make a skript for some users & myself that removes sand entities that are the ground. Example, someone makes a lag machine all the broken sand is on the ground, they want it where once the sand goes on the ground it will clear that item.

on break:
block is sand
set {_block} to event-block
set {_entity} to event-entity
loop all entities in a radius of 10 around event-block:
if loop-entity is on the ground:
clear loop-entity

Thanks, for the help!
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

LavaBucket

Founder of Infurious.gg
Supreme
Feedback score
4
Posts
238
Reactions
27
Resources
0
BTW: MC-Market did not save the right spacing/tabs but if someone could please help with the code it would be appreciated, more then willing to do a vouch for it. If it truly is complicated I will pay for it.
 

LavaBucket

Founder of Infurious.gg
Supreme
Feedback score
4
Posts
238
Reactions
27
Resources
0
What error is created?
No error is created it just does clear the sand lol, I have tried many different layouts and none of them seem to work. If you have any ideas for code for me to try let me know. Thanks!
 

LavaBucket

Founder of Infurious.gg
Supreme
Feedback score
4
Posts
238
Reactions
27
Resources
0
Haven't done skript in a few months.



Might do it, try it. PM me if you have errors, i'm more than happy to help

There's no loop that matches 'loop-block'
so I changed it to
which produces no errors, but does not clear sand
 

LavaBucket

Founder of Infurious.gg
Supreme
Feedback score
4
Posts
238
Reactions
27
Resources
0
Still looking, if anyone can help it would be appreciated. Just spent a long ass time trying to figure it out we couldn't obviously..
 

DamagedShadows

Supreme
Feedback score
0
Posts
943
Reactions
157
Resources
0
Code:
on break:
    if loop-entity is sand:
        loop all entities in a radius of 10 around loop-block:
            if loop-entity is sand:
                clear loop-entity


That not work?
 
Status
This thread has been locked.
Top