#how do I create a tick timer using functions?
1 messages · Page 1 of 1 (latest)
• Check if the item is in the player inventory.
• It starts a scoreboard timer.
• When the scoreboard reaches a certain value (6000 ticks): Apply your effects
• When the item is gone from the player inventory: stop increasing the scoreboard (or just reset it)
- You can use
hasitemto check if the player has a particular item you want to have. - 5 minutes = 6000 ticks