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

Started by LamalolXD on Fri, 01/06/2023 - 23:52

Topic category: General discussion

Last seen on 20:16, 25. Jan 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make a Block that detects the Player and changes his gamemode
Fri, 01/06/2023 - 23:52

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?