You’re looking for the property Character, not CharacterAdded. Try this instead. If this doesn’t work, then you haven’t properly connected the function. If that’s the case, try this code:
local function equip(char,skin)
local pistol = char.pistol
pistol.TextureId = skin.TextureId
end
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(equip)
end)
Also, heads up — CharacterAdded does not return second parameters.