Hi so i want to make a code so that when /abilityone is used you drain all potion effects from players surrounding you: My Code At The moment looks like this :
If someone could please tell me what I'm doing wrong that'd be much appreciated!! Also how to display command cooldown in seconds :sob:
Code:
command /abilityone:
description: Runs the First Ability I wont Even Lie
permission: permission
cooldown: 150 seconds
cooldown message: §l§4You Are On Cooldown for %remaining time%!!
trigger:
loop all players in radius 7 around sender:
if {trust::%sender%::%loop-entity%} is false:
clear all potion effects from loop-entity
If someone could please tell me what I'm doing wrong that'd be much appreciated!! Also how to display command cooldown in seconds :sob: