--// CHAOSTIC CODING INCOMING!! local items = require(game:GetService("ReplicatedStorage").BaseItems).BaseItems local cur_cam = workspace.CurrentCamera local inventory = { --// or the script's inventory actually ["AK-47"] = { Skins = game:GetService("ReplicatedStorage").Models.AkSkins.AKCH }, ["Karambit"] = { Skins = game:GetService("ReplicatedStorage").Models.KarambitSkins.Karambit_Amethyst }, ["AWP"] = { Skins = game:GetService("ReplicatedStorage").Models.AwpSkins.AWP_Kawaii2 }, ["Butterfly"] = { Skins = game.ReplicatedStorage.Models.BtfkSkins.Btfk_Waifu } } local function changeknifemodel(value) items.Classic_Knife["Model"] = value return value end local function identifygun(thing) if thing == "v_Awp" or thing == "v_Awp2" then return "AWP" elseif thing == "v_Deagle" then return "Desert Eagle" elseif thing == "v_Karambit" or thing == "v_Karambit2" then return "Karambit" elseif thing == "v_Glock" or thing == "v_Glock2" then return "Glock" elseif thing == "v_Scythe" then return "Scythe" elseif thing == "v_M9Bayo" then return "M9Bayo" elseif thing == "v_Katana" or thing == "v_Katana2" then return "Katana" elseif thing == "v_Butterfly" then return "Butterfly" elseif thing == "v_AK47" then return "AK-47" elseif thing == "v_Bayo" then return "Bayonet" end return nil end local function changeskinto(value, model) --// actually lets make it the shit we tryna change lol -- ok local model = cur_cam:FindFirstChildOfClass("Model") --model = model or nil --done --// LMFAO yo guess what... it didnt work ill do it fuc kyou --// nvm fuck it i got lazy lets just use the one from the camera for now local gun = model:FindFirstChild("Gun") local skins = value or nil if gun and skins ~= nil then if gun:FindFirstChild("NewSkins") then gun:FindFirstChild("NewSkins"):Destroy() end local folder = Instance.new("Folder") folder.Name = "NewSkins" folder.Parent = gun for i, original in pairs(gun:GetDescendants()) do for i, new in pairs(value:GetDescendants()) do if new:IsA("MeshPart") and original:IsA("MeshPart") then local copy = new:Clone() copy.Parent = folder copy.Size = original.Size copy.Position = original.Position original.Transparency = 1 if new.Name == original.Name then local weld = Instance.new("Weld") weld.Part0 = copy weld.Part1 = original weld.Parent = copy weld.Name = "ThisIsANewSkinNigga" end end if new:IsA("Attachment") and original:IsA("Attachment") then new.Position = original.Position end for i, nigga in pairs(original:GetChildren()) do --// send therapy i hate coding this if nigga:IsA("BasePart") and not nigga:FindFirstChild("ThisIsANewSkinNigga") then nigga.Transparency = 67 end end end -- end -- end end local function changeskininloadedstorage(value, name) --// actually lets make it the shit we tryna change lol -- ok local model = game:GetService("ReplicatedStorage").LoadedStorage[name] --model = model or nil --done --// LMFAO yo guess what... it didnt work ill do it fuc kyou --// nvm fuck it i got lazy lets just use the one from the camera for now local gun = model:FindFirstChild("Gun") local skins = value or nil if gun and skins ~= nil then if gun:FindFirstChild("NewSkins") then gun:FindFirstChild("NewSkins"):Destroy() end local folder = Instance.new("Folder") folder.Name = "NewSkins" folder.Parent = gun for i, original in pairs(gun:GetDescendants()) do for i, new in pairs(value:GetDescendants()) do if new.Name == original.Name and new:IsA("MeshPart") and original:IsA("MeshPart") then local copy = new:Clone() copy.Parent = folder copy.Size = original.Size copy.Position = original.Position original.Transparency = 1 local weld = Instance.new("Weld") weld.Part0 = copy weld.Part1 = original weld.Parent = copy weld.Name = "ThisIsANewSkinNigga" end if new:IsA("Attachment") and original:IsA("Attachment") then new.Position = original.Position end for i, nigga in pairs(original:GetChildren()) do --// send therapy i hate coding this if nigga:IsA("BasePart") and not nigga:FindFirstChild("ThisIsANewSkinNigga") then nigga.Transparency = 67 end end end -- end -- end end changeknifemodel(game:GetService("ReplicatedStorage").Models.v_Butterfly) --changeskinto(game.ReplicatedStorage.Models.AwpSkins.Awp_Anime) --changeskininloadedstorage(game.ReplicatedStorage.Models.AwpSkins.Awp_Anime, "v_Awp") cur_cam.ChildAdded:Connect(function(model) if not model:IsA("Model") then return end local thingidk = identifygun(model.Name) if not thingidk then return end local tlb = inventory[thingidk] if model:GetAttribute("mapped") then return end model:SetAttribute("mapped", true) changeskinto(tlb.Skins, model) end) --// gurl it's confidental :3