Disable block before leaving the zone

Started by Swyde on

Topic category: Troubleshooting, bugs, and solutions

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Disable block before leaving the zone

Hello,

I want to disable a block after using it while the player isn't in a square cube with size 10. I use for this the block update tick but it don't work correctly. Here's my procedure:

OnUpdate Tick

https://ibb.co/GHdYgM5

And When I walk on the block

https://ibb.co/L1L6x2Y

 

Anybody know how to correct it