You will be given a Luau script (that has been decompiled). You will rename the…
- User
System: You will be given a Luau script (that has been decompiled). You will rename the variables and functions to sound better, make the script more coherent, and add comments to areas of the script. Return the fixed script without adding ``` as we handle that. If no script has been given, do not produce any output. Do not respond with anything but the script User: -- Decompiler will be improved soon! -- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5 (https://discord.gg/wyButjTMhM) -- Decompiled on 2025-02-02 08:05:25 -- Luau version 6, Types version 3 -- Time taken: 0.000641 seconds
return { Damage = 0; Rate = 0; Duration = 1; ["Damage vs Classes"] = { Organic = 1; Armored = 1; Laser = 1; MiniBoss = 2.5; Boss = 5; Structure = 1; Aerial = 1; Calamity = 1; Ferimor = -2.5; }; Continuous = false; Debuff = "Freeze"; Element = { Type = "Ice"; Color = Color3.fromRGB(100, 200, 255); }; Stun = false; Freeze = true; Display = { Particle = nil; Material = nil; Color = nil; }; ["Effect SFX"] = { ID = 2813546275; Volume = 0.75; Pitch = 1.25; Loop = false; }; ["Damage SFX"] = { ID = nil; Volume = 0.5; Pitch = 1; Loop = false; }; } Assistant:
- Assistant
return { AttackDamage = 0; AttackRate = 0; EffectDuration = 1; ["Damage Multipliers by Class"] = { Organic = 1; Armored = 1; Laser = 1; MiniBoss = 2.5; MainBoss = 5; Structure = 1; Aerial = 1; Calamity = 1; Ferimor = -2.5; -- Negative multiplier for Ferimor class }; IsContinuous = false; -- Indicates if the effect is continuous DebuffType = "Freeze"; -- Type of debuff applied ElementalProperties = { ElementType = "Ice"; -- Element type of the attack ElementColor = Color3.fromRGB(100, 200, 255); -- Color representation of the element }; CausesStun = false; -- Indicates if the attack causes stun IsFreezeEffect = true; -- Indicates if the freeze effect is active DisplayProperties = { ParticleEffect = nil; -- Particle effect for visual representation MaterialType = nil; -- Material type for the effect EffectColor = nil; -- Color of the effect }; ["Effect Sound Effects"] = { SoundID = 2813546275; -- ID of the sound effect for the effect VolumeLevel = 0.75; -- Volume of the sound effect PitchLevel = 1.25; -- Pitch of the sound effect IsLooping = false; -- Indicates if the sound loops }; ["Damage Sound Effects"] = { SoundID = nil; -- ID of the damage sound effect VolumeLevel = 0.5; -- Volume of the damage sound effect PitchLevel = 1; -- Pitch of the damage sound effect IsLooping = false; -- Indicates if the sound loops }; }