SETUP
- Transfer the “.sk” extension file in the package you downloaded to the “Skript/scripts” section in the plugin folder on your server.
- Transfer the folder where the “.sk” extension file in the package you downloaded stores the data into the plugin folder.
- Install the required plugins/skript addons on your server.
- Use the command “/reload” to activate the script. Or restart the server.
- (Plugin) Skript 2.10.2 or higher - Download
- 1.21, 1.21.4, 1.21.5
Code:
on load:
loop {pulseTracker_phases::*}:
delete {pulseTracker_phases::%loop-value%::*}
delete {pulseTracker_phases::%loop-value%}
set {pulseTracker_phases} to 0
# --- Config (You will edit this section)
# Usage: add_pulse_phase(health_threshold, "sound_name", volume, pitch, loop_interval)
# Argument 1: Health amount that triggers this phase
# Argument 2: The name of the sound effect to be played
# Argument 3: Volume of the sound
# Argument 4: Pitch of the sound
# Argument 5: Delay between each sound repeat in seconds
add_pulse_phase(2, "custom.pulse1", 0.75, 1, 0.95)
add_pulse_phase(1, "custom.pulse2", 0.825, 1, 0.625)
add_pulse_phase(0.5, "custom.pulse3", 0.9, 1, 0.5)
# Note: You can add unlimited phases by following the numeric order.
# Make sure to not skip any health steps for a smooth transition.
