How can I make a Block that detects the Player and changes his gamemode

Started by LamalolXD on

Topic category: General discussion

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a Block that detects the Player and changes his gamemode

So I want to make a block that detects the player in a certain range and turns his gamemode to adventure so he cant break blocks.

Does anyone know how to do that?