#elytra clippers/disabler
1 messages · Page 1 of 1 (latest)
temporarily set it to air and then after 15 seconds they get it back
he can just equip another one
I mean there's item cooldown in skbee which can be combined with on glide toggle? I think that's the event to cancel
[on] (gliding state change|toggl(e|ing) gliding)
gliding state of player is false
item cooldown of player's chestplate > 0 seconds
wait a tick
set gliding state of player to false
set item cooldown of %itemtype% for %player% to %timespan%
delete {elytraDisabler::*}
on damage of player:
if (name of attacker's tool) is "&eElytra disabler":
set {elytraDisabler::%victim%} to now
on toggle gliding:
if {elytraDisabler::%player%} is set:
if player's chestplate is elytra:
if player is not gliding:
if (difference between now and {elytraDisabler::%player%}) < 15 seconds:
cancel event
send "&eYour Elytra has been disabled for &c15 &eseconds!" to victim```
Final skript
@alpine night how did you find me