options: P: &8[&aElectrified&8]&e command /electrified []: permission: skript.op trigger: if arg 1 is "on", "enable", or "give": loop all players: set {elec} to true apply speed 1 to the loop-player for 999 days apply haste 1 to the loop-player for 999 days give loop-player 1 redstone named "Battery" set {HasBattery.%loop-player%} to true set {CanUseBattery.%loop-player%} to true broadcast "{@P} Batteries given out and effects applied!" stop if arg 1 is "off", "disable", or "stop": set {elec} to false broadcast "{@P} Electrified ended!" on login: if {elec} is true: if {HasBattery.%player%} is false: give player 1 redstone named "Battery" set {HasBattery.%player%} to true message "{@P} Battery given!" to the player on right click: player's tool is redstone named "Battery": if {CanUseBattery.%player%} is false: message "{@P} You cannot use your battery, your 3 minutes hasn't gone up!" else: remove all effects from player apply haste 3 to the player for 15 seconds apply speed 2 to the player for 15 seconds broadcast "{@P} %player% is &bELECTRIFIED!" wait 15 seconds apply haste 1 to the player for 999 days apple speed 1 to the player for 999 days set {CanUseBattery.%player%} to false wait 3 minutes give player 1 redstone named "Battery" message "{@P} You can use your battery again!"