ADVERTISEMENTREMOVE ADS
Game icon

[ KEYLESS ] - Standalone Skin Changer

Script preview thumbnail
Script Preview

Description

Core Functionality:

  1. Weapon ViewModel Identification: The script's primary goal is to interact with the game's weapon models. It first attempts to locate the player's active weapon view models, specifically looking for a "Weapons" folder within PlayerScripts.Assets.ViewModels. If this folder isn't found, it includes logic to create it to ensure a consistent path for modifications.

  2. Skin Asset Discovery: It identifies available alternative skin models by scanning various categorized folders (e.g., "Spooky Skin Case", "Skin Case 2", "Festive Skin Case", "Other") that are expected to contain these assets, typically located within the ViewModels directory. It also includes a fallback mechanism with hardcoded paths to find these folders if the initial discovery method fails.

  3. Skin Application Logic:

    • When a user selects a base weapon and a desired skin, the script locates the current model of that weapon.

    • Crucially, it first creates a backup of the original weapon model. These backups are stored in a designated "OriginalBackups" folder to facilitate future restoration. This backup is only created if one doesn't already exist for that specific weapon, preserving its initial state.

    • The currently active weapon model is then removed from the game's view models.

    • A clone of the selected skin model (sourced from its respective skin folder) is then renamed to match the original weapon's name and inserted into the ViewModels path, effectively changing the weapon's appearance.

  4. Skin Reset Capabilities:

    • Individual Weapon Reset: Users can revert a specific modified weapon back to its original appearance. The script retrieves the stored backup model for that weapon, removes the currently applied skin, and replaces it with a clone of the original model.

    • Global Weapon Reset: There's also an option to reset all weapons that have been modified. The script iterates through all existing backups in the "OriginalBackups" folder and restores each corresponding weapon to its default look.

  5. Weapon and Skin Data Management: The script contains an internal, hardcoded list (weaponSkins) that defines which skins are available for each base weapon in the game. This list serves as the definitive source for mapping weapons to their interchangeable appearances.

  6. Search and Filter: The script includes logic to filter the available weapon and skin options based on text input, allowing users to quickly find specific weapons or skins by name.

Features:

  • Skin Changer
  • Rivals
ADVERTISEMENTREMOVE ADS
1 Lines • 84 Bytes
Verified
Raw
loadstring(game:HttpGet("https://soluna-script.vercel.app/skin-changer.lua",true))()
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS