How can i check the amount of SPECIFIC blocks around a player?
WITHOUT USING LOOP BLOCKS BCS IT LAGS THE FUCK OUT OF THE SERVER
Like you can do "Amount of blocks in radius 100 of player:"
But if you do like "Amount of glass blocks in radius 100 of player:" It says cant understand this effect or condition?
Im trying to make a skript that will auto delete lagmachines but using loop all the blocks and then checking the blocks is causing the server to go not responding and crash... So is there like any way to only loop a SPECIFIC block without looping all the blocks first and then checking the block or like First checking the amount of blocks with the thing i sent above that doesnt work and then looping all the blocks so it wouldnt loop blocks around every player and crash the server
This is not what i want:
loop all blocks in radius 100 of player:
if loop-block is glass:
This is what i want:
loop all glass blocks in radius 100 of player:
or
Amount of glass blocks in radius 100 of player:
But both of those doesnt work
(Glass block is just example)
WITHOUT USING LOOP BLOCKS BCS IT LAGS THE FUCK OUT OF THE SERVER
Like you can do "Amount of blocks in radius 100 of player:"
But if you do like "Amount of glass blocks in radius 100 of player:" It says cant understand this effect or condition?
Im trying to make a skript that will auto delete lagmachines but using loop all the blocks and then checking the blocks is causing the server to go not responding and crash... So is there like any way to only loop a SPECIFIC block without looping all the blocks first and then checking the block or like First checking the amount of blocks with the thing i sent above that doesnt work and then looping all the blocks so it wouldnt loop blocks around every player and crash the server
This is not what i want:
loop all blocks in radius 100 of player:
if loop-block is glass:
This is what i want:
loop all glass blocks in radius 100 of player:
or
Amount of glass blocks in radius 100 of player:
But both of those doesnt work
(Glass block is just example)