Hello, this skript is supposed to spread the block (purple concrete) but instead when i place it, nothing starts to spread ( i used the command /spread start ) ( if you dont understand what i mean, when the block is placed, it should start slowly taking over other blocks near it )
-
Code:
on place of purple concrete: if {dospread} is 1: set {blocklocation} to event-block's location loop {looploop} times: add 1 to {looploop} add 1 to {blockspread} loop all blocks in radius {blockspread} of event-block: if loop-block is not air: set loop-block to purple concrete on script load: set {looploop} to 2 set {blockspread} to 5 command /spread [<text>]: permission: skunity.ontop trigger: if arg-1 is "stop": set {dospread} to 0 else: if arg-1 is "start": set {dospread} to 1
Last edited: