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

Started by LamalolXD on

Topic category: General discussion

Last seen on 13:43, 19. Apr 2024
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?