m3ydnl

this is the script an this is the errors can u fix them? my server has skript particles so i want you to add slime particles to the skript the first ability also fix it u jump up then u land and slam with slime particles and then again 3 times and for the second ability when u right click it again theres also slime particles and for ultimate make slime particle circle radius of 10 blocks use skript skbee and skript particles to aid you

๐Ÿ“Ž 2 files 15,652 chars
๐Ÿ“„
MobToken (1).txt
txt 295 lines
โ–ถ
# ========================================================
# ๐ŸŸข MOB TOKEN SMP - SLIME TOKEN ENGINE
# ========================================================

# --- TOKEN ITEM GENERATOR ---
function getSlimeToken() :: item:
    set {_item} to echo shard named "&aSlime Token"
    
    set lore of {_item} to " ", "&eโ˜€๏ธ &lPASSIVES &eโ˜€๏ธ", " &8โ—‡ &bPERMANENT &b&lHaste 1", " &8โ—‡ &bPERMANENT &b&lSpeed 1", " ", " &8โ—‡ &bImmune to &cfall damage", " &8โ—‡ &b5%% chance to fully &aabsorb &bincoming damage", " &8โ—‡ &bPermanent &bSpeed 1", " ", "&dโ˜€๏ธ &lABILITIES &dโ˜€๏ธ", "&7(Left Click) &8(110s cooldown)", " &8โ—‡ &bBounce 3 times, dealing &cโค2 &bwhen you land", " &8โ—‡ &bYour last bounce &aknocks away &benemies", " ", "&7(Right Click) &8(80s cooldown)", " &8โ—‡ &bEngorge: shrink down, then &agrow &bevery time you're hit", " &8โ—‡ &bWhile active you take &ahalf damage &bfrom hits", " &8โ—‡ &bRight click again to end - &asmall &bgrants buffs,", " &8โ—‡ &ahuge &bunleashes a &cdamage + knockback slam", " &8โ—‡ &bAuto-ends if you go 20s without a hit", " ", "&dโ˜€๏ธ &lULTIMATE ABILITY &dโ˜€๏ธ", "&7(Offhand / F Key) &8(90s cooldown)", " &8โ—‡ &bStick all enemies nearby to the ground", " &8โ—‡ &bThey get Slowness 1 and can't jump", and " &8โ—‡ &bLasts 7 seconds"
    return {_item}

# --- HELPER: TRUE DAMAGE SYSTEM ---
function dealTrueDamage(attacker: player, victim: livingentity, hearts: number):
    if {mobtoken::trust::%{_attacker}'s uuid%::*} contains uuid of {_victim}:
        stop
    if {_victim} is {_attacker}:
        stop
        
    set {_damageHP} to {_hearts} * 2
    set {_currHP} to health of {_victim}
    
    if {_currHP} - {_damageHP} <= 0:
        make {_attacker} damage {_victim} by 1000
    else:
        set health of {_victim} to ({_currHP} - {_damageHP})
        play sound "entity.player.hurt" to {_victim}

# ========================================================
# โš™๏ธ COMMANDS SYSTEM
# ========================================================

command /mobtoken [] []:
    trigger:
        if arg-1 is "start":
            if player is op:
                broadcast "&a&l================================="
                broadcast "&e&l   THE MOB TOKEN SMP IS STARTING   "
                broadcast "&a&l================================="
                
                loop all players:
                    apply blindness 1 to loop-player for 10 seconds
                    send title "&eRolling Your Token..." with subtitle "&7Choosing your destiny..." to loop-player for 4 seconds
                
                set {_pitchCounter} to 0.1
                loop 25 times:
                    loop all players:
                        play sound "block.note_block.hat" with volume 1 and pitch {_pitchCounter} to loop-player
                    add 0.1 to {_pitchCounter}
                    wait 2 ticks
                
                loop all players:
                    send title "&a&lSLIME TOKEN!" with subtitle "&7You obtained the Slime Token!" to loop-player for 4 seconds
                    play sound "entity.totem.of_undying.use" to loop-player
                    draw 30 slime at location of loop-player
                    give loop-player getSlimeToken()
            else:
                send "&cOnly operators can start the SMP!" to player

        else if arg-1 is "trust":
            set {_target} to arg-2 parsed as player
            if {_target} is set:
                if {_target} is player:
                    send "&cYou cannot trust yourself!" to player
                    stop
                if {mobtoken::trust::%player's uuid%::*} contains uuid of {_target}:
                    send "&c%{_target}% is already in your trust list!" to player
                else:
                    add uuid of {_target} to {mobtoken::trust::%player's uuid%::*}
                    send "&aSuccessfully added &f%{_target}% &ato your trust list!" to player

        else if arg-1 is "untrust":
            set {_target} to arg-2 parsed as player
            if {_target} is set:
                if {mobtoken::trust::%player's uuid%::*} contains uuid of {_target}:
                    remove uuid of {_target} from {mobtoken::trust::%player's uuid%::*}
                    send "&cRemoved &f%{_target}% &cfrom your trust list!" to player

        else if arg-1 is "controls":
            if {mobtoken::controls_disabled::%player's uuid%} is true:
                delete {mobtoken::controls_disabled::%player's uuid%}
                send "&aMob Token item controls &lENABLED&a!" to player
            else:
                set {mobtoken::controls_disabled::%player's uuid%} to true
                send "&cMob Token item controls &lDISABLED&c!" to player

        else if arg-1 is "cooldown" or "cd":
            delete {cd::slime1::%player's uuid%}
            delete {cd::slime2::%player's uuid%}
            delete {cd::slimeUlt::%player's uuid%}
            delete {engorge::active::%player's uuid%}
            send "&aYour Mob Token cooldowns and active states have been reset!" to player

# ========================================================
# ๐ŸŸข SLIME TOKEN ABILITIES
# ========================================================

function useSlimeAbility1(p: player):
    set {_uuid} to {_p}'s uuid
    set {_cd} to difference between {cd::slime1::%{_uuid}%} and now
    if {_cd} is less than 110 seconds:
        send "&cAbility 1 is on cooldown for %difference between 110 seconds and {_cd}%!" to {_p}
        stop
        
    set {cd::slime1::%{_uuid}%} to now
    
    # 3 consecutive jumps: jump -> land -> slam -> repeat
    loop 3 times:
        send "&a&lBOUNCE %loop-value%/3!" to {_p}
        
        if loop-value is 1:
            push {_p} upward at speed 0.8
            push {_p} forward at speed 0.7
        else if loop-value is 2:
            push {_p} upward at speed 0.9
            push {_p} forward at speed 0.8
        else:
            push {_p} upward at speed 1.3
            push {_p} forward at speed 1.1
            
        play sound "entity.slime.jump" at {_p}
        draw 10 slime at location of {_p}
        
        # Brief pause to ensure the player leaves the ground
        wait 5 ticks
        
        # Wait until the player lands back on the ground
        while {_p} is not on ground:
            draw 2 slime at location of {_p}
            wait 1 tick
            
        play sound "entity.slime.squish" at {_p}
        
        if loop-value is 3:
            # Final high-impact bounce slam
            draw 40 slime at location of {_p}
            loop all living entities in radius 5 around {_p}:
                if loop-entity is not {_p}:
                    dealTrueDamage({_p}, loop-entity, 2)
                    set {_dir} to vector from {_p} to loop-entity
                    set y of {_dir} to 0.5
                    set velocity of loop-entity to {_dir} * 1.8
            send "&a&lFINAL BOUNCE SLAM UNLEASHED!" to {_p}
        else:
            # Intermediate bounce slam
            draw 20 slime at location of {_p}
            loop all living entities in radius 3 around {_p}:
                if loop-entity is not {_p}:
                    dealTrueDamage({_p}, loop-entity, 1)
                    set {_dir} to vector from {_p} to loop-entity
                    set y of {_dir} to 0.3
                    set velocity of loop-entity to {_dir} * 1.2
                    
        wait 5 ticks

function useSlimeAbility2(p: player):
    set {_uuid} to {_p}'s uuid
    
    if {engorge::active::%{_uuid}%} is true:
        endEngorge({_p})
        stop
        
    set {_cd} to difference between {cd::slime2::%{_uuid}%} and now
    if {_cd} is less than 80 seconds:
        send "&cAbility 2 is on cooldown for %difference between 80 seconds and {_cd}%!" to {_p}
        stop
        
    set {cd::slime2::%{_uuid}%} to now
    set {engorge::active::%{_uuid}%} to true
    set {engorge::scale::%{_uuid}%} to 0.5
    set {engorge::last_hit::%{_uuid}%} to now
    
    set generic scale attribute of {_p} to 0.5
    send "&a&lENGORGE ACTIVATED! &7(Right click again to detonate/end)" to {_p}
    play sound "entity.slime.squish" at {_p}
    
    while {engorge::active::%{_uuid}%} is true:
        wait 10 ticks
        if difference between {engorge::last_hit::%{_uuid}%} and now > 20 seconds:
            endEngorge({_p})
            stop

function endEngorge(p: player):
    set {_uuid} to {_p}'s uuid
    delete {engorge::active::%{_uuid}%}
    set {_scale} to {engorge::scale::%{_uuid}%}
    
    set generic scale attribute of {_p} to 1.0
    
    if {_scale} <= 1.0:
        apply speed 2 to {_p} for 8 seconds
        apply regeneration 2 to {_p} for 8 seconds
        send "&a&lENGORGE ENDED: &fGranted Speed II & Regeneration II!" to {_p}
        play sound "entity.player.levelup" to {_p}
    else:
        play sound "entity.generic.explode" at {_p}
        draw 40 slime at location of {_p}
        
        loop all living entities in radius 6 around {_p}:
            if loop-entity is not {_p}:
                dealTrueDamage({_p}, loop-entity, 4)
                set {_dir} to vector from {_p} to loop-entity
                set y of {_dir} to 0.6
                set velocity of loop-entity to {_dir} * 1.8
        send "&a&lENGORGE SLAM UNLEASHED!" to {_p}

function useSlimeUltimate(p: player):
    set {_uuid} to {_p}'s uuid
    set {_cd} to difference between {cd::slimeUlt::%{_uuid}%} and now
    if {_cd} is less than 90 seconds:
        send "&cUltimate is on cooldown for %difference between 90 seconds and {_cd}%!" to {_p}
        stop
        
    set {cd::slimeUlt::%{_uuid}%} to now
    send "&d&lSTICKY ZONE UNLEASHED (10-Block Radius)!" to {_p}
    play sound "block.slime_block.place" at {_p}
    
    draw 50 slime at location of {_p}
    
    loop all living entities in radius 10 around {_p}:
        if loop-entity is not {_p}:
            if {mobtoken::trust::%{_uuid}%::*} doesn't contain uuid of loop-entity:
                apply slowness 255 to loop-entity for 7 seconds
                apply jump boost -10 to loop-entity for 7 seconds
                
                loop 14 times:
                    draw 5 slime at location of loop-entity
                    wait 10 ticks

# ========================================================
# โšก PASSIVES & EVENT LISTENERS
# ========================================================

every 1 second:
    loop all players:
        if name of loop-player's offhand item is "&aSlime Token":
            apply haste 1 to loop-player for 2 seconds
            apply speed 1 to loop-player for 2 seconds
        else if name of loop-player's tool is "&aSlime Token":
            apply haste 1 to loop-player for 2 seconds
            apply speed 1 to loop-player for 2 seconds

on death:
    loop contents of player's inventory:
        if name of loop-item is "&aSlime Token":
            remove loop-item from drops
            set {mobtoken::kept_token::%player's uuid%} to loop-item

on respawn:
    if {mobtoken::kept_token::%player's uuid%} is set:
        give player {mobtoken::kept_token::%player's uuid%}
        delete {mobtoken::kept_token::%player's uuid%}

on damage of player:
    set {_uuid} to victim's uuid
    
    if damage cause is fall:
        if name of victim's offhand item is "&aSlime Token":
            cancel event
        else if name of victim's tool is "&aSlime Token":
            cancel event
            
    if name of victim's offhand item is "&aSlime Token":
        chance of 5%:
            cancel event
            play sound "block.slime_block.break" at victim
            draw 10 slime at location of victim
            send "&a&lABSORBED!" to victim
            
    if {engorge::active::%{_uuid}%} is true:
        set damage to damage * 0.5 
        set {engorge::last_hit::%{_uuid}%} to now
        
        if {engorge::scale::%{_uuid}%} < 2.5:
            add 0.2 to {engorge::scale::%{_uuid}%}
            set generic scale attribute of victim to {engorge::scale::%{_uuid}%}
            play sound "entity.slime.squish" at victim

on left click:
    if {mobtoken::controls_disabled::%player's uuid%} is not true:
        if name of player's tool is "&aSlime Token":
            useSlimeAbility1(player)

on right click:
    if {mobtoken::controls_disabled::%player's uuid%} is not true:
        if name of player's tool is "&aSlime Token":
            useSlimeAbility2(player)

on swap hand items:
    if {mobtoken::controls_disabled::%player's uuid%} is not true:
        if name of player's tool is "&aSlime Token":
            cancel event
            useSlimeUltimate(player)
        else if name of player's offhand item is "&aSlime Token":
            cancel event
            useSlimeUltimate(player)
๐Ÿ“„
pasted-code-1784669025634.txt
txt 39 lines
โ–ถ
 Line 121: (MobToken.sk)
[SERVER] [17:18:35 INFO]:     Can't understand this condition/effect: draw 10 slime at location of {_p}
[SERVER] [17:18:35 INFO]:     Line: draw 10 slime at location of {_p}
[SERVER] [17:18:35 INFO]:  
[SERVER] [17:18:35 INFO]: [Skript] Line 128: (MobToken.sk)
[SERVER] [17:18:35 INFO]:     Can't understand this condition/effect: draw 2 slime at location of {_p}
[SERVER] [17:18:35 INFO]:     Line: draw 2 slime at location of {_p}
[SERVER] [17:18:35 INFO]:  
[SERVER] [17:18:35 INFO]: [Skript] Line 135: (MobToken.sk)
[SERVER] [17:18:35 INFO]:     Can't understand this condition/effect: draw 40 slime at location of {_p}
[SERVER] [17:18:35 INFO]:     Line: draw 40 slime at location of {_p}
[SERVER] [17:18:35 INFO]:  
[SERVER] [17:18:35 INFO]: [Skript] Line 145: (MobToken.sk)
[SERVER] [17:18:35 INFO]:     Can't understand this condition/effect: draw 20 slime at location of {_p}
[SERVER] [17:18:35 INFO]:     Line: draw 20 slime at location of {_p}
[SERVER] [17:18:35 INFO]:  
[SERVER] [17:18:35 INFO]: [Skript] Line 196: (MobToken.sk)
[SERVER] [17:18:35 INFO]:     Can't understand this condition/effect: draw 40 slime at location of {_p}
[SERVER] [17:18:35 INFO]:     Line: draw 40 slime at location of {_p}
[SERVER] [17:18:35 INFO]:  
[SERVER] [17:18:36 INFO]: [Skript] Line 217: (MobToken.sk)
[SERVER] [17:18:36 INFO]:     Can't understand this condition/effect: draw 50 slime at location of {_p}
[SERVER] [17:18:36 INFO]:     Line: draw 50 slime at location of {_p}
[SERVER] [17:18:36 INFO]:  
[SERVER] [17:18:36 INFO]: [Skript] Line 226: (MobToken.sk)
[SERVER] [17:18:36 INFO]:     loop-entity is neither an item stack, an item type, an entity type nor a particle
[SERVER] [17:18:36 INFO]:     Line: draw 5 slime at location of loop-entity
[SERVER] [17:18:36 INFO]:  
[SERVER] [17:18:36 INFO]: [Skript] Line 54: (MobToken.sk)
[SERVER] [17:18:36 INFO]:     loop-player is neither an item stack, an item type, an entity type nor a particle
[SERVER] [17:18:36 INFO]:     Line: draw 30 slime at location of loop-player
[SERVER] [17:18:36 INFO]:  
[SERVER] [17:18:36 INFO]: [Skript] Line 243: (MobToken.sk)
[SERVER] [17:18:36 INFO]:     Use 'attacker' and/or 'victim' in damage/death events
[SERVER] [17:18:36 INFO]:     Line: loop contents of player's inventory:
[SERVER] [17:18:36 INFO]:  
[SERVER] [17:18:37 INFO]: [Skript] Line 266: (MobToken.sk)
[SERVER] [17:18:37 INFO]:     Can't understand this condition/effect: draw 10 slime at location of victim
[SERVER] [17:18:37 INFO]:     Line: draw 10 slime at location of victim
Kodari AI
KodariJul 21 at 9:33 pm 14
SlimeTokenEngine
A Skript-based Slime Token system for Minecraft servers. It gives players a custom token with permanent movement passives, fall-damage immunity, damage absorption, three bouncing slime slams, an Engorge growth ability, and a Sticky Zone ultimate. The script uses valid Skript particle syntax for slime effects, includes cooldowns and trusted-player protection, and supports SkBee scale attributes.

Place SlimeToken.sk in plugins/Skript/scripts/, then run /sk reload SlimeToken.

Kodari can make mistakes. Review important code before using.
Files
SlimeToken.sk
Code
1 352
SlimeToken.sk
# ========================================================
# MOB TOKEN SMP - SLIME TOKEN ENGINE
# Requires: Skript, SkBee, and a Minecraft version with slime particles
# Place in plugins/Skript/scripts/ and run: /sk reload SlimeToken
# ========================================================

options:
    token-name: &aSlime Token
    prefix: &a&lSLIME &8ยป &r

function getSlimeToken() :: item:
    set {_item} to echo shard named "{@token-name}"
    set lore of {_item} to " ", "&eโ˜€ &lPASSIVES &eโ˜€", " &8โ—‡ &bPermanent Haste I", " &8โ—‡ &bPermanent Speed I", " &8โ—‡ &bImmune to &cfall damage", " &8โ—‡ &b5%% chance to fully &aabsorb &bincoming damage", " ", "&dโ˜€ &lABILITIES &dโ˜€", "&7(Left Click) &8(110s cooldown)", " &8โ—‡ &bBounce 3 times, dealing damage on every landing", " &8โ—‡ &bYour final bounce knocks enemies away", " ", "&7(Right Click) &8(80s cooldown)", " &8โ—‡ &bEngorge: shrink down, then grow when hit", " &8โ—‡ &bRight click again to end the ability", " ", "&dโ˜€ &lULTIMATE ABILITY &dโ˜€", "&7(Offhand / F Key) &8(90s cooldown)", " &8โ—‡ &bStick nearby enemies to the ground for 7 seconds"
    return {_item}

function slimeParticles(at: location, amount: number):
    play {_amount} of slime particles at {_at}

function slimeCircle(center: location, radius: number):
    set {_angle} to 0
    loop 36 times:
        set {_point} to {_center}
        set {_x-offset} to (cosine of {_angle}) * {_radius}
        set {_z-offset} to (sine of {_angle}) * {_radius}
        add {_x-offset} to x-coordinate of {_point}
        add 0.2 to y-coordinate of {_point}
        add {_z-offset} to z-coordinate of {_point}
        slimeParticles({_point}, 4)
        add 10 to {_angle}

function dealTrueDamage(attacker: player, victim: living entity, hearts: number):
    if {_victim} is {_attacker}:
        stop
    if {mobtoken::trust::%{_attacker}'s uuid%::*} contains uuid of {_victim}:
        stop

    set {_damage} to {_hearts} * 2
    set {_health} to health of {_victim}

    if {_health} - {_damage} <= 0:
        damage {_victim} by 1000
    else:
        set health of {_victim} to {_health} - {_damage}
        play sound "entity.player.hurt" at {_victim}

function slimeSlam(p: player, radius: number, damage-hearts: number, knockback: number, lift: number):
    slimeParticles(location of {_p}, 30)
    play sound "entity.slime.squish" at {_p}

    loop all living entities in radius {_radius} around {_p}:
        if loop-entity is not {_p}:
            dealTrueDamage({_p}, loop-entity, {_damage-hearts})
            set {_direction} to vector from {_p} to loop-entity
            set y of {_direction} to {_lift}
            set velocity of loop-entity to {_direction} * {_knockback}

function useSlimeAbility1(p: player):
    set {_uuid} to {_p}'s uuid

    if {cd::slime1::%{_uuid}%} is set:
        set {_elapsed} to difference between {cd::slime1::%{_uuid}%} and now
        if {_elapsed} is less than 110 seconds:
            set {_remaining} to 110 seconds - {_elapsed}
            send "{@prefix}&cBounce is on cooldown for %{_remaining}%." to {_p}
            stop

    set {cd::slime1::%{_uuid}%} to now

    loop 3 times:
        set {_bounce} to loop-number
        send "{@prefix}&a&lBOUNCE %{_bounce}%&a/3!" to {_p}

        if {_bounce} is 1:
            push {_p} upwards at speed 0.8
            push {_p} forwards at speed 0.7
        else if {_bounce} is 2:
            push {_p} upwards at speed 0.9
            push {_p} forwards at speed 0.8
        else:
            push {_p} upwards at speed 1.3
            push {_p} forwards at speed 1.1

        play sound "entity.slime.jump" at {_p}
        slimeParticles(location of {_p}, 18)
        wait 3 ticks

        set {_landed} to false
        loop 100 times:
            wait 1 tick
            slimeParticles(location of {_p}, 2)

            if {_p} is on ground:
                set {_landed} to true
                stop loop

        if {_landed} is false:
            stop

        if {_bounce} is 3:
            slimeSlam({_p}, 5, 2, 1.8, 0.5)
            send "{@prefix}&a&lFINAL BOUNCE SLAM UNLEASHED!" to {_p}
        else:
            slimeSlam({_p}, 3, 1, 1.2, 0.3)

        wait 5 ticks

function useSlimeAbility2(p: player):
    set {_uuid} to {_p}'s uuid

    if {engorge::active::%{_uuid}%} is true:
        endEngorge({_p})
        stop

    if {cd::slime2::%{_uuid}%} is set:
        set {_elapsed} to difference between {cd::slime2::%{_uuid}%} and now
        if {_elapsed} is less than 80 seconds:
            set {_remaining} to 80 seconds - {_elapsed}
            send "{@prefix}&cEngorge is on cooldown for %{_remaining}%." to {_p}
            stop

    set {cd::slime2::%{_uuid}%} to now
    set {engorge::active::%{_uuid}%} to true
    set {engorge::scale::%{_uuid}%} to 0.5
    set {engorge::last-hit::%{_uuid}%} to now

    set generic scale attribute of {_p} to 0.5
    slimeParticles(location of {_p}, 25)
    play sound "entity.slime.squish" at {_p}
    send "{@prefix}&a&lENGORGE ACTIVATED! &7Right click again to end it." to {_p}

    while {engorge::active::%{_uuid}%} is true:
        wait 10 ticks

        if difference between {engorge::last-hit::%{_uuid}%} and now is greater than 20 seconds:
            endEngorge({_p})
            stop

function endEngorge(p: player):
    set {_uuid} to {_p}'s uuid
    delete {engorge::active::%{_uuid}%}
    set {_scale} to {engorge::scale::%{_uuid}%}

    set generic scale attribute of {_p} to 1
    slimeParticles(location of {_p}, 25)

    if {_scale} is less than or equal to 1:
        apply speed 2 to {_p} for 8 seconds
        apply regeneration 2 to {_p} for 8 seconds
        play sound "entity.player.levelup" at {_p}
        send "{@prefix}&a&lENGORGE ENDED: &fSpeed II and Regeneration II granted!" to {_p}
    else:
        play sound "entity.generic.explode" at {_p}
        slimeParticles(location of {_p}, 50)

        loop all living entities in radius 6 around {_p}:
            if loop-entity is not {_p}:
                dealTrueDamage({_p}, loop-entity, 4)
                set {_direction} to vector from {_p} to loop-entity
                set y of {_direction} to 0.6
                set velocity of loop-entity to {_direction} * 1.8

        send "{@prefix}&a&lENGORGE SLAM UNLEASHED!" to {_p}

    delete {engorge::scale::%{_uuid}%}
    delete {engorge::last-hit::%{_uuid}%}

function useSlimeUltimate(p: player):
    set {_uuid} to {_p}'s uuid

    if {cd::slimeUlt::%{_uuid}%} is set:
        set {_elapsed} to difference between {cd::slimeUlt::%{_uuid}%} and now
        if {_elapsed} is less than 90 seconds:
            set {_remaining} to 90 seconds - {_elapsed}
            send "{@prefix}&cUltimate is on cooldown for %{_remaining}%." to {_p}
            stop

    set {cd::slimeUlt::%{_uuid}%} to now
    send "{@prefix}&d&lSTICKY ZONE UNLEASHED &7(10-block radius)!" to {_p}
    play sound "block.slime_block.place" at {_p}

    loop 7 times:
        slimeCircle(location of {_p}, 10)
        slimeParticles(location of {_p}, 25)

        loop all living entities in radius 10 around {_p}:
            if loop-entity is not {_p}:
                if {mobtoken::trust::%{_uuid}%::*} does not contain uuid of loop-entity:
                    apply slowness 1 to loop-entity for 2 seconds
                    apply jump boost 250 to loop-entity for 2 seconds
                    slimeParticles(location of loop-entity, 8)

        wait 1 second

# ========================================================
# COMMANDS
# ========================================================

command /mobtoken [<text>] [<text>]:
    trigger:
        if arg-1 is "start":