How to make a procedure to increase the amount

Started by natemilligan45 on

Topic category: Help with modding (Java Edition)

Last seen on 01:42, 28. Feb 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a procedure to increase the amount

So I made a code to do some score board but don't know how to create another procedure to increase the amount of u do something.

 

Code: 

When (global trigger) on player tick update

If is event/target enity subtype of player 

Do set score custom score to 1 on the score board of event/target entity 

 

Send message create text with get event/target entity scoreboard for custom score to event/target entity show in action bar true