Elegant solution and it work flawlessly, thank you very much !!!!!!!!!
edit: deconstruction is a bit too strong but i don't see any way too make it different, unless you find a way to make a deconstruction time like vanilla or by maybe reducing the range ?
Hi! Thanks for the feedback!
I originally did it this way - to have only 1 object demolished or built every 4 ticks. But this causes a problem where the script makes endless attempts to remove the same object that can't be demolished. and other objects can't be demolished until I move far enough away from this non-demolishable object. I would like to make the demolition of objects the same speed as the player anyway, and will probably do so in the future.
edit: deconstruction is a bit too strong but i don't see any way too make it different, unless you find a way to make a deconstruction time like vanilla or by maybe reducing the range ?