Hello,
I am trying to make a simple bedwars script, but I would like to only be able to explode blocks from a list called "{blockplaced::*}". Everything except the tnt is working. This is what I have coded so far, but the tnt explodes ALL blocks:
If you know how this is wrong, please comment below ☺
Information:
Skript version: 2.5-beta2
Server version: git-Paper-133 (MC: 1.16.1)
Skript addons: <none> (yet) (EDIT 1: Added SkRayFall)
I am trying to make a simple bedwars script, but I would like to only be able to explode blocks from a list called "{blockplaced::*}". Everything except the tnt is working. This is what I have coded so far, but the tnt explodes ALL blocks:
Code:
on explode:
loop exploded blocks:
if loop-value-1 is any bed:
cancel the event
set block at loop-block to loop-block
uncancel the event
else:
loop {blockplaced::*}:
if location of loop-value-1 is loop-value-2:
continue
else:
cancel the event
set block at loop-block-1 to loop-block-1
uncancel the event
If you know how this is wrong, please comment below ☺
Information:
Skript version: 2.5-beta2
Server version: git-Paper-133 (MC: 1.16.1)
Skript addons: <none> (yet) (EDIT 1: Added SkRayFall)
Last edited: