ironboysny

You are an expert Minecraft Skript developer for Spigot/Paper 1.20โ€“1.21 servers.

Your job is to generate a clean, optimized transformation system using Skript. ๐ŸŽฏ MAIN GOAL Create a multi-transformation system where players can switch between different forms.

Each form must focus ONLY on visual transformation (particles + effects) and simple state management. โš”๏ธ REQUIRED TRANSFORMATIONS You must include at least these forms:

  1. ๐ŸŒŒ Celestial Form

Clean, holy energy theme Light particles (end rod, enchant, portal, soul at higher levels)

  1. โ˜ ๏ธ Corrupted Form

Dark energy theme Use particles like: ash smoke soul fire flame sculk-like or void-style effects Should feel unstable and chaotic visually

  1. ๐Ÿ”’ Secret Transformation

Hidden / rare form Must feel overpowered visually but still ONLY particles Use rare effects like: dragon breath end spike portal explosion-like aura Should only activate via a secret condition (example: command with permission, rare item trigger, or hidden unlock variable) โš™๏ธ CORE SYSTEM RULES Each transformation must:

Use variables like: {form.%player%} {form.level.%player%} {form.energy.%player%} Have: /transform <form> command OR separate commands per form toggle ON/OFF behavior Optional: /formup command to increase level (max 5) โœจ PARTICLE SYSTEM (MOST IMPORTANT) Each form must have unique particle identity Particles must scale with level (1โ€“5) Must feel like a smooth aura around the player No random spam or laggy particle explosions โŒ STRICT LIMITATIONS DO NOT include:

Combat systems (no damage scaling, PvP abilities, attacks) Movement abilities (no dash, teleport, fly) Weapons or items External plugin dependencies unless absolutely required KEEP IT PURELY VISUAL + STATE-BASED. ๐ŸŽจ OPTIONAL POLISH (IF SIMPLE) Sound effects when transforming Clean prefix messages like: โ€œ[Form System]โ€ Subtle fade-in particle transition when switching forms ๐Ÿ“ฆ OUTPUT FORMAT ONLY output Skript code No explanations unless requested Must be compatible with Spigot/Paper 1.21+ ๐Ÿง  DESIGN FOCUS Make it feel like:

Anime transformation system RPG aura evolution system Visual power scaling system Keep it clean, structured, and performance-friendly.

Kodari AI
KodariJul 6 at 6:53 pm 1

Iโ€™ll create a visual transformation system.

FormTransformation
A visual-only transformation system allowing players to switch between Celestial, Corrupted, and Secret forms. Each form features unique particle auras that scale with level (1-5). Includes toggle commands, level-up system, sound effects, and a hidden unlockable secret form. No combat, movement, or item mechanics โ€” pure visual effects and state management for Spigot/Paper 1.21+.
Kodari can make mistakes. Review important code before using.
Files
scripts
Code
1 263
scripts/FormTransformation.sk
# FormTransformation.sk
# Visual transformation system โ€” particles, effects, and state management
# Compatible with Spigot/Paper 1.21+

options:
    prefix: "&8[&bForm&fSystem&8]"
    max_level: 5

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# INITIALIZATION
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
on load:
    set {form::initialized} to true

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# COMMAND: /transform <form> or /transform off
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
command /transform [<text>]:
    permission: formsystem.transform
    trigger:
        if arg-1 is not set:
            message "{@prefix} &7Usage: /transform <celestial|corrupted|secret|off>"
            stop
        
        set {_form} to lowercased arg-1
        
        if {_form} is "off":
            if {form::active::%player%} is not true:
                message "{@prefix} &cYou are not transformed."
                stop
            delete {form::active::%player%}
            delete {form::%player%}
            message "{@prefix} &7Transformation deactivated."
            stop
        
        if {_form} is "secret":
            if {form::secret::%player%} is not true:
                message "{@prefix} &cThe secret form is locked. You have not unlocked it yet."
                stop
            set {_form} to "secret"
        
        if {_form} is not "celestial" and {_form} is not "corrupted" and {_form} is not "secret":
            message "{@prefix} &7Unknown form. Use: celestial, corrupted, or secret."
            stop
        
        if {form::active::%player%} is true:
            play sound "entity_player_levelup" to player with volume 0.5 and pitch 1.8
            message "{@prefix} &7Transformation updated to &b%{_form}%&7."
        else:
            play sound "entity_ender_dragon_growl" to player with volume 0.3 and pitch 1.5
            message "{@prefix} &aYou assume the &b%{_form%} &aform!"
        
        set {form::%player%} to {_form}
        set {form::active::%player%} to true
        if {form::level::%player%} is not set:
            set {form::level::%player%} to 1
        if {form::energy::%player%} is not set:
            set {form::energy::%player%} to 0

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# COMMAND: /formup โ€” increase level (max 5)
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
command /formup:
    permission: formsystem.formup
    trigger:
        if {form::active::%player%} is not true:
            message "{@prefix} &cYou must be transformed to use this."
            stop
        
        if {form::level::%player%} >= {@max_level}:
            message "{@prefix} &cYour form is already at maximum level."
            stop
        
        add 1 to {form::level::%player%}
        set {_level} to {form::level::%player%}
        play sound "entity_player_levelup" to player with volume 0.5 and pitch 1.2
        message "{@prefix} &aForm level increased to &b%{_level}%&a!"
        
        # Fade-in burst effect
        set {_loc} to location of player
        set {_p} to player
        play sound "entity_firework_rocket_blast" to player with volume 0.4 and pitch 1.5
        wait 1 tick
        if {form::%player%} is "celestial":
            spawn 20 of "end rod" at {_loc} with extra 0.5 0.5 0.5 speed 0.1
        else if {form::%player%} is "corrupted":
            spawn 20 of "soul fire flame" at {_loc} with extra 0.5 0.5 0.5 speed 0.1
        else if {form::%player%} is "secret":
            spawn 20 of "dragon breath" at {_loc} with extra 0.5 0.5 0.5 speed 0.1

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# COMMAND: /formsecret <player> โ€” unlock secret form
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
command /formsecret [<player>]:
    permission: formsystem.admin
    trigger:
        if arg-1 is not set:
            message "{@prefix} &7Usage: /formsecret <player>"
            stop
        
        set {form::secret::%arg-1%} to true
        message "{@prefix} &aUnlocked secret form for &b%arg-1%&a."
        message "{@prefix} &aThe secret form has been unlocked! Use &b/transform secret&a." to arg-1

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# MAIN PARTICLE LOOP โ€” runs every 3 ticks
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
every 3 ticks:
    loop all players:
        set {_p} to loop-player
        if {form::active::%{_p}%} is not true:
            stop loop
        
        set {_form} to {form::%{_p}%}
        set {_level} to {form::level::%{_p}%}
        if {_level} is not set:
            set {_level} to 1
        
        set {_loc} to location of {_p}
        add 0.5 to y-coordinate of {_loc}
        
        # Route to the correct form's particle effects
        if {_form} is "celestial":
            celestialEffects({_p}, {_loc}, {_level})
        else if {_form} is "corrupted":
            corruptedEffects({_p}, {_loc}, {_level})
        else if {_form} is "secret":
            secretEffects({_p}, {_loc}, {_level})

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# CELESTIAL FORM EFFECTS
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
function celestialEffects(p: player, loc: location, lvl: number):
    # Level 1: Gentle end rod sparkles
    # Level 2: Added enchanted hit gleams
    # Level 3: Portal wisps swirl
    # Level 4: Soul fragments drift
    # Level 5: Full radiant aura
    
    if {_lvl} >= 1:
        spawn 4 of "end rod" at {_loc} with extra 1.2 0.4 1.2 speed 0.02
        spawn 2 of "end rod" at {_loc} with extra 0.6 0.8 0.6 speed 0.01
    
    if {_lvl} >= 2:
        spawn 3 of "enchantment" at {_loc} with extra 1.5 0.6 1.5 speed 0.01
        spawn 2 of "end rod" at {_loc} with extra 0.8 1.2 0.8 speed 0.02
    
    if {_lvl} >= 3:
        spawn 3 of "portal" at {_loc} with extra 1.8 0.3 1.8 speed 0.01
        spawn 2 of "enchantment" at {_loc} with extra 1.0 1.0 1.0 speed 0.01
    
    if {_lvl} >= 4:
        spawn 3 of "soul" at {_loc} with extra 1.5 0.5 1.5 speed 0.005
        spawn 2 of "portal" at {_loc} with extra 2.0 0.5 2.0 speed 0.01
    
    if {_lvl} >= 5:
        spawn 3 of "glow" at {_loc} with extra 1.8 0.8 1.8 speed 0.01
        spawn 2 of "end rod" at {_loc} with extra 2.5 0.3 2.5 speed 0.03
        spawn 1 of "totem of undying" at {_loc} with extra 0.5 0.5 0.5 speed 0.01

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# CORRUPTED FORM EFFECTS
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
function corruptedEffects(p: player, loc: location, lvl: number):
    # Level 1: Ash and smoke โ€” unstable
    # Level 2: Soul fire flickers
    # Level 3: Large smoke rises
    # Level 4: Sculk soul whispers
    # Level 5: Chaotic void storm
    
    if {_lvl} >= 1:
        spawn 4 of "ash" at {_loc} with extra 1.0 0.3 1.0 speed 0.03
        spawn 3 of "smoke" at {_loc} with extra 0.8 0.5 0.8 speed 0.02
    
    if {_lvl} >= 2:
        spawn 3 of "soul fire flame" at {_loc} with extra 1.2 0.4 1.2 speed 0.01
        spawn 2 of "ash" at {_loc} with extra 1.5 0.6 1.5 speed 0.04
    
    if {_lvl} >= 3:
        spawn 3 of "large smoke" at {_loc} with extra 1.5 0.5 1.5 speed 0.01
        spawn 2 of "soul fire flame" at {_loc} with extra 1.8 0.3 1.8 speed 0.02
        spawn 2 of "smoke" at {_loc} with extra 1.0 1.0 1.0 speed 0.03
    
    if {_lvl} >= 4:
        spawn 3 of "sculk soul" at {_loc} with extra 1.5 0.5 1.5 speed 0.01
        spawn 2 of "large smoke" at {_loc} with extra 2.0 0.4 2.0 speed 0.02
        spawn 2 of "soul fire flame" at {_loc} with extra 1.2 0.8 1.2 speed 0.01
    
    if {_lvl} >= 5:
        spawn 4 of "sculk soul" at {_loc} with extra 2.0 0.6 2.0 speed 0.02
        spawn 3 of "large smoke" at {_loc} with extra 2.5 0.5 2.5 speed 0.03
        spawn 2 of "soul fire flame" at {_loc} with extra 2.0 1.0 2.0 speed 0.03
        spawn 1 of "sonic boom" at {_loc} with extra 0.3 0.3 0.3 speed 0.01

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# SECRET FORM EFFECTS
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
function secretEffects(p: player, loc: location, lvl: number):
    # Level 1: Dragon breath mist + end crystal shimmer
    # Level 2: Portal rifts open