local OrionLib =
loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/
source')))()
local Window = OrionLib:MakeWindow({Name = "HEXWARE", HidePremium = false,
SaveConfig = true, ConfigFolder = "WeaponSkins"})
local Tab = Window:MakeTab({
Name = "HEXWARE SKIN CHANGER",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
local weaponSkins = { -- Weapon skins table
["Bow"] = {"Compound Bow", "Raven Bow"},
["Assault Rifle"] = {"AK-47", "AUG", "Boneclaw Rifle"},
["Chainsaw"] = {"Blobsaw", "Handsaws"},
["RPG"] = {"Nuke Launcher", "RPKEY", "Spaceship Launcher"},
["Burst Rifle"] = {"Aqua Burst", "Electro Rifle"},
["Exogun"] = {"Singularity", "Wondergun"},
["Fists"] = {"Boxing Gloves", "Brass Knuckles"},
["Flamethrower"] = {"Lamethrower", "Pixel Flamethrower"},
["Flare Gun"] = {"Dynamite Gun", "Firework Gun"},
["Freeze Ray"] = {"Bubble Ray", "Temporal Ray"},
["Grenade"] = {"Water Balloon", "Whoopee Cushion"},
["Grenade Launcher"] = {"Swashbuckler", "Uranium Launcher"},
["Handgun"] = {"Blaster"},
["Katana"] = {"Lightning Bolt", "Saber"},
["Minigun"] = {"Lasergun 3000", "Pixel Minigun"},
["Paintball Gun"] = {"Boba Gun", "Slime Gun"},
["Revolver"] = {"Sheriff", "Desert Eagle"},
["Slingshot"] = {"Goalpost", "Stick"},
["Subspace Tripmine"] = {"Don't Press", "Spring"},
["Uzi"] = {"Electro Uzi", "Water Uzi"},
["Sniper"] = {"Pixel Sniper", "Hyper Sniper", "Eyething Sniper"},
["Knife"] = {"Karambit", "Chancla", "Keyper"},
["Scythe"] = {"Anchor", "Scythe of Death", "Keythe"},
["Medkit"] = {"Laptop", "Sandwich", "Brief Case"},
}
local assetFolder =
game:GetService("Players").LocalPlayer.PlayerScripts.Assets.ViewModels
local activeWeapons = {}
-- Function to swap weapon skins
local function swapWeaponSkins(normalWeaponName, skinName, State)
if not normalWeaponName then
return
end
local normalWeapon = assetFolder:FindFirstChild(normalWeaponName)
if not normalWeapon then
return
end
if State then
if skinName then
local skin = assetFolder:FindFirstChild(skinName)
if not skin then
return
end
normalWeapon:ClearAllChildren()
for _, child in pairs(skin:GetChildren()) do
local newChild = child:Clone()
newChild.Parent = normalWeapon
end
activeWeapons[normalWeaponName] = true
end
else
activeWeapons[normalWeaponName] = nil
end
end
-- UI for each weapon and its skins
for weapon, skins in pairs(weaponSkins) do
Tab:AddDropdown({
Name = weapon .. " Skin Selector",
Options = skins,
Callback = function(selectedSkin)
swapWeaponSkins(weapon, selectedSkin, true)
end
})
Tab:AddToggle({
Name = "Enable " .. weapon .. " Skin",
Default = false,
Callback = function(state)
if not state then
swapWeaponSkins(weapon, nil, false)
end
end
})
end
OrionLib:Init()